android-components / mozilla.components.browser.session.tab / CustomTabConfig / createFromIntent

# createFromIntent

`fun createFromIntent(intent: SafeIntent): CustomTabConfig` (source)

Creates a CustomTabConfig instance based on the provided intent.

### Parameters

`intent` - the intent, wrapped as a SafeIntent, which is processed to extract configuration data.

Return
the CustomTabConfig instance.