Rate this page:

ConnectionCallback

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

Methods

onSuccess

Copy URL
fun onSuccess(): 

Unit

Reports that the connection is established successfully.

Returns

  • type:

    Unit

onFailure

Copy URL
fun onFailure(error: 

ConnectionError

):

Unit

Reports that the connection is failed.

Parameters

Returns

  • type:

    Unit