---
title: "importBrowserData(token:)"
framework: BrowserKit
role: symbol
role_heading: Instance Method
platforms: [iOS 26.4+, iPadOS 26.4+]
path: "browserkit/bebrowserdataimportmanager/importbrowserdata(token:)"
---

# importBrowserData(token:)

Imports another app’s browsing data as a stream.

## Declaration

```swift
@nonobjc final func importBrowserData(token: UUID) -> AsyncThrowingStream<BEBrowserData, any Error>
```

## Parameters

- `token`: A UUID that identifies the import operation. Pass the value from the activity’s info dictionary with the doc://BrowserKit/documentation/BrowserKit/BEBrowserDataImportManager/importTokenUserInfoKey-3bqve key.

## Mentioned in

Transferring browsing data to another browser

## Return Value

Return Value An AsyncStream, in which you import the individual data types.

## Discussion

Discussion Call this method from the userActivityType to begin receiving a stream of another app’s browsing data. For more information, see Transferring browsing data to another browser.

## See Also

### Importing browser data

- [requestImport(for:completionHandler:)](browserkit/bebrowserdataimportmanager/requestimport(for:completionhandler:).md)
