BDKCallEndReason

Objective-C

enum BDKCallEndReason : NSInteger {}

Swift

enum CallEndReason : Int

An enumeration representing the possible call end reasons.

  • Call has ended but the reason is unknown.

    Declaration

    Objective-C

    BDKCallEndReasonUnknown = -1

    Swift

    case unknown = -1
  • Call is not ended.

    Declaration

    Objective-C

    BDKCallEndReasonNone

    Swift

    case none = 0
  • Call has been hung up.

    Declaration

    Objective-C

    BDKCallEndReasonHangUp

    Swift

    case hangUp = 1
  • Call has been declined.

    Declaration

    Objective-C

    BDKCallEndReasonDeclined

    Swift

    case declined = 2
  • Call has been answered or declined on another device.

    Declaration

    Objective-C

    BDKCallEndReasonAnsweredOnAnotherDevice

    Swift

    case answeredOnAnotherDevice = 3
  • Call has ended because the opponent has disconnected.

    Declaration

    Objective-C

    BDKCallEndReasonUserDisconnected

    Swift

    case userDisconnected = 4
  • Call has ended because the opponent did not join the room in time.

    Declaration

    Objective-C

    BDKCallEndReasonTimedOut

    Swift

    case timedOut = 5
  • Call has ended because of an error.

    Declaration

    Objective-C

    BDKCallEndReasonError

    Swift

    case error = 6