VIClientSessionDelegate
Delegate that may be used to handle events for connection with Voximplant Cloud.
Methods
clientSessionDidConnect:
- (void
)clientSessionDidConnect:(VIClient *
)client
Triggered after the connection to the Voximplant Cloud was established successfully.
Parameters
client:
VIClient *
Client instance.
Returns
type:
void
clientSessionDidDisconnect:
- (void
)clientSessionDidDisconnect:(VIClient *
)client
Triggered if the connection to the Voximplant Cloud was 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 couldn't be established.
Parameters
client:
VIClient *
Client instance.
error:
NSError *
Occurred error. See VIConnectivityErrorCode for possible variants.
Returns
type:
void
clientSessionDidReconnect:
- (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
client:
VIClient *
Client instance.
Returns
type:
void