android-components / mozilla.components.feature.customtabs / createCustomTabConfigFromIntent


fun createCustomTabConfigFromIntent(intent: <ERROR CLASS>, resources: <ERROR CLASS>?): CustomTabConfig (source)

Creates a CustomTabConfig instance based on the provided intent.


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

resources - needed in-order to verify that icons of a max size are only provided.

Return the CustomTabConfig instance.