Skip to navigation

GenerateOneTimeKeyCallback (interface)

Android SDK v3 API reference
View as Markdown

com.voximplant.android.sdk.core

Interface that the application implements to receive the result of a one-time key generation.

Methods

onFailure

fun onFailure(error: LoginError): Unit

Reports failure generation of a one-time key.

Parameters

ParameterTypeRequirementDescription
errorLoginErrorError type

Returns: Unit

onSuccess

fun onSuccess(key: String): Unit

Reports successful generation of a one-time key.

Parameters

ParameterTypeRequirementDescription
keyStringGenerated one-time key

Returns: Unit