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

isTrustedWebActivityIntent

fun isTrustedWebActivityIntent(intent: <ERROR CLASS>): <ERROR CLASS> (source)

Checks if the provided intent is a trusted web activity intent.

Parameters

intent - the intent to check.

Return true if the intent is a trusted web activity intent, otherwise false.

fun isTrustedWebActivityIntent(safeIntent: SafeIntent): Boolean (source)

Checks if the provided intent is a trusted web activity intent.

Parameters

safeIntent - the intent to check, wrapped as a SafeIntent.

Return true if the intent is a trusted web activity intent, otherwise false.