ClientTokenCallback

Callback used to communicate ClientTokenProvider.getClientToken result back to BraintreeClient.

Functions

Link copied to clipboard
abstract fun onFailure(error: Exception)

Invoke this method when an error occurs fetching the client token

Link copied to clipboard
abstract fun onSuccess(clientToken: String)

Invoke this method once a client token has been successfully fetched from the merchant server.