android-components / / TabCollection / restore


abstract fun restore(context: <ERROR CLASS>, engine: Engine, restoreSessionId: Boolean = false): List<Item> (source)

Restores all tabs in this collection and returns a matching list of SessionManager.Snapshot.Item objects.


restoreSessionId - If true the original of Sessions will be restored. Otherwise a new ID will be generated. An app may prefer to use a new ID if it expects sessions to get restored multiple times - otherwise breaking the promise of a unique ID per Session.