Session Controller
Controller for managing Sessions.
Properties
Count the number of background transitions in the current session.
The amount of time that can elapse before the session id is updated while the app is in the background.
If enabled, will be able to continue the previous session when the app is closed and reopened (if it doesn't timeout). Disabled by default, which means that every restart of the app starts a new session. When enabled, every event will result in the session being updated in the UserDefaults.
Count the number of foreground transitions in the current session.
The amount of time that can elapse before the session id is updated while the app is in the foreground.
Whether the app is currently in background state or in foreground state.
The callback called every time the session is updated.
The session index. A increasing number which helps to order the sequence of sessions.