VIClientSessionDelegate
Delegate that may be used to handle events for the connection to the Voximplant Cloud.
Methods
clientSessionDidConnect:
- (void
)clientSessionDidConnect:(VIClient *
)client
Triggered after the connection to the Voximplant Cloud has been established successfully.
Parameters
client:
VIClient *
Client instance
Returns
type:
void
clientSessionDidDisconnect:
- (void
)clientSessionDidDisconnect:(VIClient *
)client
Triggered if the connection to the Voximplant Cloud has been closed.
Parameters
client:
VIClient *
Client instance
Returns
type:
void
client:sessionDidFailConnectWithError:
- (void
)client:(VIClient *
)client
sessionDidFailConnectWithError:(NSError *
)error
Triggered if the connection to the Voximplant Cloud could not be established.
Parameters
client:
VIClient *
Client instance
error:
NSError *
Occurred error. See VIConnectivityErrorCode for the error list
Returns
type:
void
clientSessionDidReconnect:
- (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
client:
VIClient *
Client instance
Returns
type:
void