CallState
public enum CallState : Equatable
CallState
represents the state of the call
-
New call has been created in the client.
Declaration
Swift
case NEW
-
The outbound call is being sent to the server.
Declaration
Swift
case CONNECTING
-
Call is pending to be answered. Someone is attempting to call you.
Declaration
Swift
case RINGING
-
Call is active when two clients are fully connected.
Declaration
Swift
case ACTIVE
-
Call has been held.
Declaration
Swift
case HELD
-
Call has ended.
Declaration
Swift
case DONE
-
The active call is being recovered. Usually after a network switch or bad network
Declaration
Swift
case RECONNECTING(reason: Reason)
-
The active call is dropped. Usually when the network is lost.
Declaration
Swift
case DROPPED(reason: Reason)
-
Enum to represent reasons for reconnection or call drop.
See moreDeclaration
Swift
public enum Reason : String
-
Helper function to get the reason for the state (if applicable).
Declaration
Swift
public func getReason() -> String?
-
Returns the string representation of the enum case.
Declaration
Swift
var value: String { get }