DisconnectReason

public enum DisconnectReason

The enumuaration of reasons for a call being disconnected.

Since

1.2.0
  • The local party has left the call.

    Declaration

    Swift

    case localLeft
  • The local party has declined the call. This is only applicable when the Direction of the Call is incoming.

    Declaration

    Swift

    case localDecline
  • The local party has cancelled the call. This is only applicable when the Direction of the Call is outgoing.

    Declaration

    Swift

    case localCancel
  • The remote party has left the call.

    Declaration

    Swift

    case remoteLeft
  • The remote party has declined the call. This is only applicable when the Direction of the Call is outgoing.

    Declaration

    Swift

    case remoteDecline
  • The remote party has cancelled the call. This is only applicable when the Direction of the Call is incoming.

    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 the Call is incoming.

    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 the Call is incoming.

    Declaration

    Swift

    case otherDeclined
  • Unknown error

    Declaration

    Swift

    case error(Error)