android-components / mozilla.components.feature.session / SessionFeature

SessionFeature

class SessionFeature (source)

Feature implementation for connecting the engine module with the session module.

Constructors

<init>

SessionFeature(sessionManager: SessionManager, sessionUseCases: SessionUseCases, engineView: EngineView, sessionId: String? = null)

Feature implementation for connecting the engine module with the session module.

Functions

handleBackPressed

fun handleBackPressed(): Boolean

Handler for back pressed events in activities that use this feature.

start

fun start(): Unit

Start feature: App is in the foreground.

stop

fun stop(): Unit

Stop feature: App is in the background.