BCXCallState

Objective-C

enum BCXCallState {}

Swift

enum BCXCallState : Int

An enumeration representing the states a call can be in.

  • The initial state.

    Declaration

    Objective-C

    BCXCallStateIdle

    Swift

    case idle = 0
  • Call is in dialing state, that is call has started and is waiting for anyone to answer.

    Declaration

    Objective-C

    BCXCallStateDialing

    Swift

    case dialing = 1
  • Call is in ringing state when somebody called you and you didn’t answered or declined it yet.

    Declaration

    Objective-C

    BCXCallStateRinging

    Swift

    case ringing = 2
  • Call is in answering state when you are answering the call and the server didn’t ack you yet.

    Declaration

    Objective-C

    BCXCallStateAnswering

    Swift

    case answering = 3
  • Call is in declining state when you are declining the call and the server didn’t ack you yet.

    Declaration

    Objective-C

    BCXCallStateDeclining

    Swift

    case declining = 4
  • Call is in hanging up state when you are hanging up the call and the server didn’t ack you yet.

    Declaration

    Objective-C

    BCXCallStateHangingUp

    Swift

    case hangingUp = 5
  • Call is in connecting state, when it is connecting to the host server.

    Declaration

    Objective-C

    BCXCallStateConnecting

    Swift

    case connecting = 6
  • Call is in connected state, when it is connected to the host server.

    Declaration

    Objective-C

    BCXCallStateConnected

    Swift

    case connected = 7
  • Call is in ended state, when it has ended.

    This is a final state.

    Declaration

    Objective-C

    BCXCallStateEnded

    Swift

    case ended = 8
  • Call is in failed state, when it has failed.

    This is a final state.

    Declaration

    Objective-C

    BCXCallStateFailed

    Swift

    case failed = 9