CallState
@available(iOS 12.0, *)
@objc(BDKCallState)
public enum CallState : Int, CustomStringConvertible
An enumeration representing the states a call can be in.
-
The initial state.
Declaration
Swift
case idle
-
Call is in dialing state, that is call has started and is waiting for anyone to answer.
Declaration
Swift
case dialing
-
Call is in ringing state when somebody called you and you didn’t answered or declined it yet.
Declaration
Swift
case ringing
-
Call is in connecting state, when it is connecting to the host server.
Declaration
Swift
case connecting
-
Call is in connected state, when it is connected to the host server.
Declaration
Swift
case connected
-
Call is in ended state, when it has ended.
Important
This is a final state.Declaration
Swift
case ended
-
Call is in failed state, when it has failed.
Important
This is a final state.Declaration
Swift
case failed