Rate this page:

IClientSessionListener

Interface that may be used to handle events for connection with Voximplant Cloud.

Methods

onConnectionClosed

Copy URL

void

onConnectionClosed()

Invoked if connection to Voximplant Cloud was closed as a result of IClient.disconnect() method call or due to network problems

Returns

  • type:

    void

onConnectionEstablished

Copy URL

void

onConnectionEstablished()

Invoked after connection to Voximplant Cloud was established successfully

Returns

  • type:

    void

onConnectionFailed

Copy URL

void

onConnectionFailed(

String

error
)

Invoked if connection to Voximplant Cloud couldn't be established

Parameters

  • error:

    String

    Failure reason description

Returns

  • type:

    void