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
BDKCallStateIdle
Swift
case idle = 0
-
Call is in dialing state, that is call has started and is waiting for anyone to answer.
Declaration
Objective-C
BDKCallStateDialing
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
BDKCallStateRinging
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
BDKCallStateAnswering
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
BDKCallStateDeclining
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
BDKCallStateHangingUp
Swift
case hangingUp = 5
-
Call is in connecting state, when it is connecting to the host server.
Declaration
Objective-C
BDKCallStateConnecting
Swift
case connecting = 6
-
Call is in connected state, when it is connected to the host server.
Declaration
Objective-C
BDKCallStateConnected
Swift
case connected = 7
-
Call is in ended state, when it has ended.
This is a final state.
Declaration
Objective-C
BDKCallStateEnded
Swift
case ended = 8
-
Call is in failed state, when it has failed.
This is a final state.
Declaration
Objective-C
BDKCallStateFailed
Swift
case failed = 9