Skip to main content
ENUM

CallState

CallState represents the state of the call

Cases

NEW

New call has been created in the client.

CONNECTING

The outbound call is being sent to the server.

RINGING

Call is pending to be answered. Someone is attempting to call you.

ACTIVE

Call is active when two clients are fully connected.

HELD

Call has been held.

DONE(reason:)

Call has ended.

RECONNECTING(reason:)

The active call is being recovered. Usually after a network switch or bad network

DROPPED(reason:)

The active call is dropped. Usually when the network is lost.

Methods

getReason()

Helper function to get the reason for the state (if applicable).

==(_:_:)

Parameters