class GeckoEngineSession : EngineSession
(source)
Gecko-based EngineSession implementation.
GeckoEngineSession(runtime: GeckoRuntime, privateMode: Boolean = false, defaultSettings: Settings? = null)
Gecko-based EngineSession implementation. |
val settings: Settings
|
fun captureThumbnail(): Bitmap?
Takes a screenshot of the actual tab |
|
fun clearData(): Unit
|
|
fun clearFindMatches(): Unit
|
|
fun disableTrackingProtection(): Unit
|
|
fun enableTrackingProtection(policy: TrackingProtectionPolicy): Unit
|
|
fun exitFullScreenMode(): Unit
|
|
fun findAll(text: String): Unit
|
|
fun findNext(forward: Boolean): Unit
|
|
fun goBack(): Unit
|
|
fun goForward(): Unit
|
|
fun handleLongClick(elementSrc: String?, elementType: Int, uri: String? = null): HitResult? |
|
fun loadData(data: String, mimeType: String, encoding: String): Unit
|
|
fun loadUrl(url: String): Unit
|
|
fun reload(): Unit
|
|
fun restoreState(state: Map<String, Any>): Unit
|
|
fun saveState(): Map<String, Any>
|
|
fun stopLoading(): Unit
|
|
fun toggleDesktopMode(enable: Boolean, reload: Boolean): Unit
|
fun close(): Unit
Close the session. This may free underlying objects. Call this when you are finished using this session. |