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

# BEExportMetadata

Metadata that describes available browser data for export.

```
class BEExportMetadata
```

## Overview

Create an instance of this class to represent the types and counts of data that originate from someone’s interaction with your browser and are available for export, such as bookmarks, page visit history, reading list items, and extensions. Pass the instance into [`requestExport(for:token:completionHandler:)`](/documentation/BrowserKit/BEBrowserDataExportManager/requestExport(for:token:completionHandler:)) to request that the system display the framework-provided transfer sheet.

For more information, see [Transferring browsing data to another browser](/documentation/BrowserKit/transferring-browsing-data-to-another-browser).

## Topics

### Creating export metadata

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

Initializes export metadata from a decoder.

[`init(supportForExportToFiles: Bool, bookmarksCount: Int, readingListCount: Int, historyCount: Int, extensionsCount: Int)`](/documentation/BrowserKit/BEExportMetadata/init(supportForExportToFiles:bookmarksCount:readingListCount:historyCount:extensionsCount:))

Initializes export metadata with file support information and data counts.

### Accessing data counts

[`var bookmarksCount: Int`](/documentation/BrowserKit/BEExportMetadata/bookmarksCount)

A count of bookmarks available for export.

[`var extensionsCount: Int`](/documentation/BrowserKit/BEExportMetadata/extensionsCount)

A count of extensions available for export.

[`var historyCount: Int`](/documentation/BrowserKit/BEExportMetadata/historyCount)

A count of history items available for export.

[`var readingListCount: Int`](/documentation/BrowserKit/BEExportMetadata/readingListCount)

A count of reading list items available for export.

### Configuring export capabilities

[`var supportExportToFiles: Bool`](/documentation/BrowserKit/BEExportMetadata/supportExportToFiles)

A Boolean value that determines whether the sheet offers the option to export the data to files.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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

### Inherits From

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

---

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)