onCurrentSessionChanged

Called when the current session changes.

Immediately following this call, onSessionDestroyed will be called with oldSession to signal the previous session's termination.

Parameters

oldSession

The previously active Session, or null if there was none.

newSession

The newly active Session, or null if there is none.