rememberSession

fun rememberSession(tokenSource: TokenSource, options: SessionOptions = SessionOptions()): Session

Creates and manages a Session object.

Parameters

tokenSource

The TokenSource that should be used to connect to the Room

options

Options to be used for this session.