BDKErrorCode

Objective-C

enum BDKErrorCode : NSInteger {}

Swift

enum BDKErrorCode : Int

An enumeration of the possible error codes encountered when an error occurs.

  • An error indicating that the operation trying to be performed requires authentication with Bandyer platform.

    Declaration

    Objective-C

    BDKNotAuthenticatedErrorCode = 0x01

    Swift

    case notAuthenticatedErrorCode = 1
  • An authentication error occurred.

    Declaration

    Objective-C

    BDKAuthenticationErrorCode = 0x02

    Swift

    case authenticationErrorCode = 2
  • Trying to create a call, while another is in progress.

    Declaration

    Objective-C

    BDKSimultaneousCallErrorCode = 0x03

    Swift

    case simultaneousCallErrorCode = 3
  • A connection error occurred.

    Declaration

    Objective-C

    BDKConnectionErrorCode = 0x04

    Swift

    case connectionErrorCode = 4
  • Connection has been lost.

    Declaration

    Objective-C

    BDKConnectionLostErrorCode = 0x05

    Swift

    case connectionLostErrorCode = 5
  • Currently not connected with Bandyer.

    Declaration

    Objective-C

    BDKNotConnectedErrorCode = 0x06

    Swift

    case notConnectedErrorCode = 6
  • A request timed out.

    Declaration

    Objective-C

    BDKRequestTimedOutErrorCode = 0x07

    Swift

    case requestTimedOutErrorCode = 7
  • A malformed request has been received.

    Declaration

    Objective-C

    BDKMalformedResponseErrorCode = 0x08

    Swift

    case malformedResponseErrorCode = 8
  • An error occurred while dialing.

    Declaration

    Objective-C

    BDKDialErrorErrorCode = 0x09

    Swift

    case dialErrorErrorCode = 9
  • An error occurred while answering.

    Declaration

    Objective-C

    BDKAnswerErrorErrorCode = 0x0A

    Swift

    case answerErrorErrorCode = 10
  • An error occurred while declining.

    Declaration

    Objective-C

    BDKDeclineErrorErrorCode = 0x0B

    Swift

    case declineErrorErrorCode = 11
  • An error occurred while hanging up.

    Declaration

    Objective-C

    BDKHangUpErrorErrorCode = 0x0C

    Swift

    case hangUpErrorErrorCode = 12
  • An error occurred while joining a call with url.

    Declaration

    Objective-C

    BDKJoinUrlErrorCode = 0x0D

    Swift

    case joinUrlErrorCode = 13
  • An error occurred while parsing notification payload.

    Declaration

    Objective-C

    BDKInvalidNotificationPayloadErrorCode = 0x0E

    Swift

    case invalidNotificationPayloadErrorCode = 14
  • Another action of the same type is being performed already.

    Declaration

    Objective-C

    BDKAlreadyHandlingActionErrorCode = 0x0F

    Swift

    case alreadyHandlingActionErrorCode = 15
  • An invalid operation has been performed.

    Declaration

    Objective-C

    BDKInvalidOperationErrorCode = 0x10

    Swift

    case invalidOperationErrorCode = 16
  • The system has been asked to perform a not supported action.

    Declaration

    Objective-C

    BDKNotSupportedActionErrorCode = 0x11

    Swift

    case notSupportedActionErrorCode = 17
  • The system has been asked to perform an action on an unknown call.

    Declaration

    Objective-C

    BDKUnknownCallUUIDErrorCode = 0x12

    Swift

    case unknownCallUUIDErrorCode = 18
  • An audio upgradable call could not be upgraded.

    Declaration

    Objective-C

    BDKCannotUpgradeToVideoErrorCode = 0x13

    Swift

    case cannotUpgradeToVideoErrorCode = 19
  • An unexpected response has been received from the server.

    Declaration

    Objective-C

    BDKUnexpectedResponseErrorCode = 0x14

    Swift

    case unexpectedResponseErrorCode = 20
  • An handle provider did not provide a valid handle.

    Declaration

    Objective-C

    BDKInvalidHandleErrorCode = 0x15

    Swift

    case invalidHandleErrorCode = 21
  • An invalid call invite has been received.

    Declaration

    Objective-C

    BDKInvalidInviteErrorCode = 0x16

    Swift

    case invalidInviteErrorCode = 22
  • An invalid call has been created.

    Declaration

    Objective-C

    BDKMalformedCallErrorCode = 0x17

    Swift

    case malformedCallErrorCode = 23
  • There is no an on going call on which verify user.

    Declaration

    Objective-C

    BDKCouldNotFindAnOnGoingCallErrorCode = 0x18

    Swift

    case couldNotFindAnOnGoingCallErrorCode = 24
  • There is another call on which verify user.

    Declaration

    Objective-C

    BDKAnotherCallOngoingErrorCode = 0x19

    Swift

    case anotherCallOngoingErrorCode = 25
  • The current call is not connected.

    Declaration

    Objective-C

    BDKCallNotConnectedErrorCode = 0x1A

    Swift

    case callNotConnectedErrorCode = 26
  • The operation you are trying to perform requires an open session, but the current session is closed

    Declaration

    Objective-C

    BDKSessionClosedErrorCode = 0x1B

    Swift

    case sessionClosedErrorCode = 27
  • The notification payload keypath could not be found

    Declaration

    Objective-C

    BDKNotificationPayloadKeypathNotFoundErrorCode = 0x1C

    Swift

    case notificationPayloadKeypathNotFoundErrorCode = 28
  • A generic error occurred.

    Declaration

    Objective-C

    BDKGenericErrorErrorCode = 0xFF

    Swift

    case genericErrorErrorCode = 255