android-components / mozilla.components.feature.intent.processing / IntentProcessor

IntentProcessor

interface IntentProcessor (source)

Processor for Android intents which should trigger session-related actions.

Functions

Name Summary
matches abstract fun matches(intent: <ERROR CLASS>): Boolean
Returns true if this intent processor will handle the intent.
process abstract suspend fun process(intent: <ERROR CLASS>): Boolean
Processes the given Intent.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.

Inheritors

Name Summary
CustomTabIntentProcessor class CustomTabIntentProcessor : IntentProcessor
Processor for intents which trigger actions related to custom tabs.
TabIntentProcessor class TabIntentProcessor : IntentProcessor
Processor for intents which should trigger session-related actions.
TrustedWebActivityIntentProcessor class TrustedWebActivityIntentProcessor : IntentProcessor
Processor for intents which open Trusted Web Activities.
WebAppIntentProcessor class WebAppIntentProcessor : IntentProcessor
Processor for intents which trigger actions related to web apps.