DisconnectReason
public enum DisconnectReason
The enumeration of reasons for a call being disconnected.
Since
1.2.0-
The local party has left the call. This event is not applicable for
Phone.CallingType.WebexCalling
orPhone.CallingType.CUCM
calls.Declaration
Swift
case localLeft
-
The local party has declined the call. This is only applicable when the
Direction
of theCall
isincoming
. This event is not applicable forPhone.CallingType.WebexCalling
orPhone.CallingType.CUCM
calls.Declaration
Swift
case localDecline
-
The local party has cancelled the call. This is only applicable when the
Direction
of theCall
isoutgoing
. This event is not applicable forPhone.CallingType.WebexCalling
orPhone.CallingType.CUCM
calls.Declaration
Swift
case localCancel
-
The remote party has left the call. This event is not applicable for
Phone.CallingType.WebexCalling
orPhone.CallingType.CUCM
calls.Declaration
Swift
case remoteLeft
-
The remote party has declined the call. This is only applicable when the
Direction
of theCall
isoutgoing
. This event is not applicable forPhone.CallingType.WebexCalling
orPhone.CallingType.CUCM
calls.Declaration
Swift
case remoteDecline
-
The remote party has cancelled the call. This is only applicable when the
Direction
of theCall
isincoming
. This event is not applicable forPhone.CallingType.WebexCalling
orPhone.CallingType.CUCM
calls.Declaration
Swift
case remoteCancel
-
One of the other phones of the authenticated user has answered the call. This is only applicable when the
Direction
of theCall
isincoming
. This event is not applicable forPhone.CallingType.WebexCalling
orPhone.CallingType.CUCM
calls.Declaration
Swift
case otherConnected
-
One of the other phones of the authenticated user has declined the call. This is only applicable when the
Direction
of theCall
isincoming
. This event is not applicable forPhone.CallingType.WebexCalling
orPhone.CallingType.CUCM
calls.Declaration
Swift
case otherDeclined
-
This event is fired when the resources of the call object gets cleared after disconnection.
Since
3.0.0Declaration
Swift
case callEnded
-
Unknown error
Declaration
Swift
case error(Error)