Session Handler
A handler required on refreshing the session key on expiration. This should be added by SendbirdChat.setSessionHandler before the connection by SendbirdChat.connect.
Since
3.0.150
Functions
Link copied to clipboard
Called when:
Link copied to clipboard
Called when the SDK runs into an error while refreshing the session key.
Link copied to clipboard
Called after SDK successfully refreshes the session key.
Link copied to clipboard
App needs to fetch a new token and pass on the new token to SDK via SessionTokenRequester.onSuccess, or SessionTokenRequester.onFail if error has occurred during the fetch.