Rate this page:

VIClientSessionDelegate

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

Methods

clientSessionDidConnect:

Copy URL
- (

void

)clientSessionDidConnect:(

VIClient *

)client

Triggered after the connection to the Voximplant Cloud has been established successfully.

Parameters

Returns

  • type:

    void

clientSessionDidDisconnect:

Copy URL
- (

void

)clientSessionDidDisconnect:(

VIClient *

)client

Triggered if the connection to the Voximplant Cloud has been closed.

Parameters

Returns

  • type:

    void

client:sessionDidFailConnectWithError:

Copy URL
- (

void

)client:(

VIClient *

)client
sessionDidFailConnectWithError:(

NSError *

)error

Triggered if the connection to the Voximplant Cloud could not be established.

Parameters

Returns

  • type:

    void

clientSessionDidReconnect:

Optional
Copy URL
- (

void

)clientSessionDidReconnect:(

VIClient *

)client

Triggered after the connection to the Voximplant Cloud has been 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 the Voximplant Cloud is started.

Parameters

Returns

  • type:

    void