GenerateOneTimeKeyCallback
This API is in beta and subject to change.
Interface that the application implements to receive the result of a one-time key generation.
Methods
onSuccess
fun onSuccess(key: String
): Unit
This API is in beta and subject to change.
Reports successful generation of a one-time key.
Parameters
key:
String
Generated one-time key
Returns
type:
Unit
onFailure
fun onFailure(error: ): Unit
This API is in beta and subject to change.
Reports failure generation of a one-time key.
Parameters
error:
Error type
Returns
type:
Unit