start

open fun start(@NonNull activity: Activity, @NonNull browserSwitchOptions: BrowserSwitchOptions): BrowserSwitchStartResult

Open a browser or Auth Tab with a given set of BrowserSwitchOptions from an Android activity.

Return

a BrowserSwitchStartResult.Started that should be stored and passed to completeRequest upon return to the app (for Custom Tabs fallback), or BrowserSwitchStartResult.Failure if browser could not be launched.

Parameters

activity

the activity used to start browser switch

browserSwitchOptions

BrowserSwitchOptions the options used to configure the browser switch