---
title: "exportBrowserData:completionHandler:"
framework: BrowserKit
role: symbol
role_heading: Instance Method
platforms: [iOS 26.4+, iPadOS 26.4+]
path: "browserkit/bebrowserdataexportmanager/exportbrowserdata:completionhandler:"
---

# exportBrowserData:completionHandler:

Exports the given browser data with the given completion handler.

## Declaration

```occ
- (void) exportBrowserData:(BEBrowserData *) browserData completionHandler:(void (^)(NSError *)) completionHandler;
```

## Parameters

- `browserData`: An asynchronous stream of browser data items to export.
- `completionHandler`: A closure that the system calls when the export completes or fails.

## Discussion

Discussion Call this method to stream browsing data to the system, as identified by dataTypes. Use this method after requestExport(for:token:completionHandler:) returns an BEExportOptions with exportToFiles = false, or when the system launches your app as part of the transfer of browsing data to another browser. For more information, see Transferring browsing data to another browser.

## See Also

### Exporting browser data

- [requestExport(for:token:completionHandler:)](browserkit/bebrowserdataexportmanager/requestexport(for:token:completionhandler:).md)
- [exportFinishedWithCompletionHandler:](browserkit/bebrowserdataexportmanager/exportfinishedwithcompletionhandler:.md)
