Rate this page:

VIClientSessionDelegate

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

Methods

clientSessionDidConnect:

Copy URL
- (

void

)clientSessionDidConnect:(

VIClient *

)client

Triggered after the connection to the Voximplant Cloud was established successfully.

Parameters

Returns

  • type:

    void

clientSessionDidDisconnect:

Copy URL
- (

void

)clientSessionDidDisconnect:(

VIClient *

)client

Triggered if the connection to the Voximplant Cloud was closed.

Parameters

Returns

  • type:

    void

client:sessionDidFailConnectWithError:

Copy URL
- (

void

)client:(

VIClient *

)client
sessionDidFailConnectWithError:(

NSError *

)error

Triggered if the connection to the Voximplant Cloud couldn't be established.

Parameters

Returns

  • type:

    void

clientSessionDidReconnect:

Optional
Copy URL
- (

void

)clientSessionDidReconnect:(

VIClient *

)client

Triggered after the connection to the Voximplant Cloud was established successfully after a reconnect.

After the client is reconnected, [VIClient clientState] is changed to VIClientStateLoggedIn.

Parameters

Returns

  • type:

    void

clientSessionDidStartReconnecting:

Optional
Copy URL
- (

void

)clientSessionDidStartReconnecting:(

VIClient *

)client

Triggered if reconnection to Voximplant Cloud was started.

Parameters

Returns

  • type:

    void