ChatTokenCallback

interface ChatTokenCallback

Callback interface used to pass the result of chat token request.

Functions

Link copied to clipboard
abstract fun onFailure(throwable: Throwable)

To be called when token request fails.

Link copied to clipboard
abstract fun onSuccess(token: ChatToken)

To be called when token request has been completed successfully.