interface SessionStorage
(source)
Storage component for browser and engine sessions.
abstract fun persist(sessionManager: SessionManager): Boolean
Persists the session state of the provided SessionManager. |
|
abstract fun restore(sessionManager: SessionManager): Boolean
Restores the session state by reading from the latest persisted version. |
|
abstract fun start(sessionManager: SessionManager): Unit
Starts persisting the state frequently and automatically. |
|
abstract fun stop(): Unit
Stops persisting the state automatically. |
class DefaultSessionStorage : SessionStorage
Default implementation of SessionStorage which persists browser and engine session states to a JSON file. |