BDKCallState
Objective-C
enum BDKCallState : NSInteger {}
Swift
enum CallState : Int
An enumeration representing the states a call can be in.
-
The initial state.
Declaration
Objective-C
BDKCallStateIdleSwift
case idle = 0 -
Call is in dialing state, that is call has started and is waiting for anyone to answer.
Declaration
Objective-C
BDKCallStateDialingSwift
case dialing = 1 -
Call is in ringing state when somebody called you and you didn’t answered or declined it yet.
Declaration
Objective-C
BDKCallStateRingingSwift
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
BDKCallStateAnsweringSwift
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
BDKCallStateDecliningSwift
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
BDKCallStateHangingUpSwift
case hangingUp = 5 -
Call is in connecting state, when it is connecting to the host server.
Declaration
Objective-C
BDKCallStateConnectingSwift
case connecting = 6 -
Call is in connected state, when it is connected to the host server.
Declaration
Objective-C
BDKCallStateConnectedSwift
case connected = 7 -
Call is in ended state, when it has ended.
This is a final state.
Declaration
Objective-C
BDKCallStateEndedSwift
case ended = 8 -
Call is in failed state, when it has failed.
This is a final state.
Declaration
Objective-C
BDKCallStateFailedSwift
case failed = 9
View on GitHub
BDKCallState Enumeration Reference