<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserKit",
  "identifier" : "/documentation/BrowserKit/BEExportOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "BrowserKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEExportOptions"
  },
  "title" : "BEExportOptions"
}
-->

# BEExportOptions

Options that identify data to export.

```
class BEExportOptions
```

## Overview

This class identifies the selected types of items to export, including bookmarks, page visit history, reading list items, and browser extensions. People make their selections in the framework-provided transfer sheet. When someone dismisses the sheet, the system returns an instance of this class. For more information, see [Transferring browsing data to another browser](/documentation/BrowserKit/transferring-browsing-data-to-another-browser).

This class’s [`exportToFiles`](/documentation/BrowserKit/BEExportOptions/exportToFiles) property is `true` when someone chooses to export to files. In this case, the system cancels the browser-to-browser data transfer, and your app exports the browsing data to disk using a file format of your choosing.

## Topics

### Creating export options

[`init?(coder: NSCoder)`](/documentation/BrowserKit/BEExportOptions/init(coder:))

Initializes exports from a decoder.

[`init(exportToFiles: Bool, dataTypes: BEExportOptions.DataTypes)`](/documentation/BrowserKit/BEExportOptions/init(exportToFiles:dataTypes:))

Initializes exports with file information and data types.

### Configuring export preferences

[`var dataTypes: BEExportOptions.DataTypes`](/documentation/BrowserKit/BEExportOptions/dataTypes-swift.property)

The set of data types to include in the export.

[`struct DataTypes`](/documentation/BrowserKit/BEExportOptions/DataTypes-swift.struct)

Types of exported browser data.

[`var exportToFiles: Bool`](/documentation/BrowserKit/BEExportOptions/exportToFiles)

A Boolean value that indicates whether to export to files.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)