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

CustomTabWindowFeature

class CustomTabWindowFeature : LifecycleAwareFeature (source)

Feature implementation for handling window requests by opening custom tabs.

Constructors

Name Summary
<init> CustomTabWindowFeature(activity: <ERROR CLASS>, store: BrowserStore, sessionId: String)
Feature implementation for handling window requests by opening custom tabs.

Functions

Name Summary
start fun start(): Unit
Starts observing the configured session to listen for window requests.
stop fun stop(): Unit
Stops observing the configured session for incoming window requests.

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.