importBrowserData(token:)
Imports another app’s browsing data as a stream.
Declaration
@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 Importtokenuserinfokey 3bqve key.
Mentioned in
Return Value
An AsyncStream, in which you import the individual data types.
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.