TokenResultCallback

This interface is used with getUserAccessToken.

Functions

Link copied to clipboard
abstract fun onFailure()
Called when a token could not be obtained.
Link copied to clipboard
abstract fun onSuccess(@NonNull token: Token)
Called when the Sentiance SDK has a working token (either previously cached or newly obtained).