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

SystemEngineSessionState

class SystemEngineSessionState : EngineSessionState (source)

Constructors

Name Summary
<init> SystemEngineSessionState(bundle: <ERROR CLASS>?)

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>): SystemEngineSessionState

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.