CallState
CallState represents the state of the call
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Check out our upcoming events and meetups! View events →
CallState enum reference for the iOS Voice SDK. Represents the current state of a call (NEW, CONNECTING, RINGING, ACTIVE, DONE) and supported transitions.
CallStatepublic enum CallState: Equatable
CallState represents the state of the call
NEWcase NEW
CONNECTINGcase CONNECTING
RINGINGcase RINGING
ACTIVEcase ACTIVE
HELDcase HELD
DONE(reason:)case DONE(reason: CallTerminationReason? = nil)
RECONNECTING(reason:)case RECONNECTING(reason: Reason)
DROPPED(reason:)case DROPPED(reason: Reason)
getReason()public func getReason() -> String?
==(_:_:)public static func == (lhs: CallState, rhs: CallState) -> Bool
| Name | Description |
|---|---|
| lhs | A value to compare. |
| rhs | Another value to compare. |
Was this page helpful?