Skip to navigation

LoginCallback (interface)

Android SDK v3 API reference
View as Markdown

com.voximplant.android.sdk.core

Interface that the application implements to receive the result of login.

Methods

onFailure

fun onFailure(loginError: LoginError): Unit

Report that the login process failed.

Parameters

ParameterTypeRequirementDescription
loginErrorLoginErrorFailure reason

Returns: Unit

onSuccess

fun onSuccess(displayName: String, authParams: AuthParams?): Unit

Reports that the login process finished successfully.

Parameters

ParameterTypeRequirementDescription
displayNameStringDisplay name of the logged in user
authParamsAuthParams?Parameters to log in via access token

Returns: Unit