android-components / mozilla.components.browser.session.storage / DefaultSessionStorage / restore

restore

@Synchronized fun restore(sessionManager: SessionManager): Boolean (source)

Overrides SessionStorage.restore

Restores the session state by reading from the latest persisted version.

Parameters

sessionManager - the session manager to restore into.

Return
true if the state was restored, otherwise false.