ClientDisconnectReason (enum)
Web SDK v5 API reference
Enum that contains reasons why the connection to the Voximplant Cloud has been closed, provided by the ClientEvent.Disconnected event.
Values
Values
ConnectionLost
ConnectionLost: "CONNECTION_LOST"
Connection to the Voximplant Cloud has been closed due to network issues.
UserInitiated
UserInitiated: "USER_INITIATED"
Connection to the Voximplant Cloud has been closed by the Client.disconnect method call.