VIClientSessionDelegate
VoximplantCore · iOS SDK v3
Delegate that may be used to handle events for the connection to the Voximplant Cloud.
@objc protocol VIClientSessionDelegate
Methods
client(_:didDisconnectWithReason:)
@objc func client(_ client: VIClient, didDisconnectWithReason reason: VIDisconnectReason)
Triggered if the connection to the Voximplant Cloud has been closed.
Parameters
client VIClient
Client instance
reason VIDisconnectReason
Disconnect reason
clientDidReconnect(_:)
@objc optional func clientDidReconnect(_ client: VIClient)
Triggered after the connection to the Voximplant Cloud has been established successfully after a reconnect.
Parameters
client VIClient
Client instance
clientDidStartReconnecting(_:)
@objc optional func clientDidStartReconnecting(_ client: VIClient)
Triggered if reconnection to the Voximplant Cloud is started.
Parameters
client VIClient
Client instance