Rate this page:

ConnectionCallback

This API is in beta and subject to change.

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

Methods

onSuccess

Copy URL
fun onSuccess(): 

Unit

This API is in beta and subject to change.

Reports that the connection is established successfully.

Returns

  • type:

    Unit

onFailure

Copy URL
fun onFailure(error: 

ConnectionError

):

Unit

This API is in beta and subject to change.

Reports that the connection is failed.

Parameters

Returns

  • type:

    Unit