android-components / mozilla.components.browser.engine.gecko / GeckoEngineSessionState

GeckoEngineSessionState

class GeckoEngineSessionState : EngineSessionState (source)

Functions

Name Summary
toJSON fun toJSON(): <ERROR CLASS>
Create a JSON representation of this state that can be saved to disk.

Companion Object Functions

Name Summary
fromJSON fun fromJSON(json: <ERROR CLASS>): GeckoEngineSessionState

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.