android-components / mozilla.components.browser.engine.system / SystemEngineSession

# SystemEngineSession

`class SystemEngineSession : EngineSession` (source)

WebView-based EngineSession implementation.

### Types

WebSetting | `class WebSetting<T>`

### Constructors

<init> | `SystemEngineSession(defaultSettings: Settings? = null)` WebView-based EngineSession implementation.

### Properties

settings | `val settings: Settings` See EngineSession.settings

### Functions

captureThumbnail | `fun captureThumbnail(): Bitmap?` Takes a screenshot of the actual tab
clearData | `fun clearData(): Unit` See EngineSession.clearData
clearFindMatches | `fun clearFindMatches(): Unit` See EngineSession.clearFindResults
disableTrackingProtection | `fun disableTrackingProtection(): Unit` See EngineSession.disableTrackingProtection
enableTrackingProtection | `fun enableTrackingProtection(policy: TrackingProtectionPolicy): Unit` See EngineSession.enableTrackingProtection
exitFullScreenMode | `fun exitFullScreenMode(): Unit` See EngineSession.exitFullScreenMode
findAll | `fun findAll(text: String): Unit` See EngineSession.findAll
findNext | `fun findNext(forward: Boolean): Unit` See EngineSession.findNext
goBack | `fun goBack(): Unit` See EngineSession.goBack
goForward | `fun goForward(): Unit` See EngineSession.goForward
loadData | `fun loadData(data: String, mimeType: String, encoding: String): Unit` See EngineSession.loadData
loadUrl | `fun loadUrl(url: String): Unit` See EngineSession.loadUrl
reload | `fun reload(): Unit` See EngineSession.reload
restoreState | `fun restoreState(state: Map<String, Any>): Unit` See EngineSession.restoreState
saveState | `fun saveState(): Map<String, Any>` See EngineSession.saveState
stopLoading | `fun stopLoading(): Unit` See EngineSession.stopLoading
toggleDesktopMode | `fun toggleDesktopMode(enable: Boolean, reload: Boolean): Unit` See EngineSession.toggleDesktopMode

### Inherited Functions

close | `fun close(): Unit` Close the session. This may free underlying objects. Call this when you are finished using this session.