onSessionClosed abstract method

void onSessionClosed()

Called when:

  1. the token has been revoked
  2. the app has returned null as a new token value on AccessTokenRequester.onSuccess.

SDK disconnects the connection before calling this callback by SendbirdChat.disconnect, so the app is recommended to direct a user to a login page to connect again.

Implementation

void onSessionClosed();