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
BCXCallStateIdleSwift
case idle = 0 -
Call is in dialing state, that is call has started and is waiting for anyone to answer.
Declaration
Objective-C
BCXCallStateDialingSwift
case dialing = 1 -
Call is in ringing state when somebody called you and you didn’t answered or declined it yet.
Declaration
Objective-C
BCXCallStateRingingSwift
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
BCXCallStateAnsweringSwift
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
BCXCallStateDecliningSwift
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
BCXCallStateHangingUpSwift
case hangingUp = 5 -
Call is in connecting state, when it is connecting to the host server.
Declaration
Objective-C
BCXCallStateConnectingSwift
case connecting = 6 -
Call is in connected state, when it is connected to the host server.
Declaration
Objective-C
BCXCallStateConnectedSwift
case connected = 7 -
Call is in ended state, when it has ended.
This is a final state.
Declaration
Objective-C
BCXCallStateEndedSwift
case ended = 8 -
Call is in failed state, when it has failed.
This is a final state.
Declaration
Objective-C
BCXCallStateFailedSwift
case failed = 9
View on GitHub
BCXCallState Enumeration Reference