Skip to navigation

ConnectionCallback (interface)

Android SDK v3 API reference
View as Markdown

com.voximplant.android.sdk.core

Interface that the application implements to receive the result of establishing the connection to the Voximplant Cloud.

Methods

onFailure

fun onFailure(error: ConnectionError): Unit

Reports that the connection is failed.

Parameters

ParameterTypeRequirementDescription
errorConnectionErrorReason why the connection is not established

Returns: Unit

onSuccess

fun onSuccess(): Unit

Reports that the connection is established successfully.

Returns: Unit