public interface SessionTokenRequester
SessionHandler#onSessionTokenRequired(SessionTokenRequester).
After the application fetches the new token, it should pass on the token to SDK through onSuccess(String).
If any error occurred during this process, it must call onFail() to let SDK know the status.| Modifier and Type | Method and Description |
|---|---|
void |
onFail()
Call this method when failed to retrieve a new token.
|
void |
onSuccess(java.lang.String newToken)
Call this method after retrieving a new token.
|
void onSuccess(java.lang.String newToken)
null.void onFail()
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.