CallStatus

public enum CallStatus

The status of a Call.

The following diagram shows all statuses and transitions triggered by either an API call or an event received by the Spark iOS SDK. The orange transtions are triggered by API calls. The blue transitions are triggered by events. Illegal API calls during certain statuses will result callbacks with Error without transitions.

Status Diagram

Since

1.2.0
  • For the outgoing call, the call has dialed. For the incoming call, the call has received.

    Declaration

    Swift

    case initiated
  • For the outgoing call, the call is ringing the remote party. For the incoming call, the call is ringing the local party.

    Declaration

    Swift

    case ringing
  • The call is answered.

    Declaration

    Swift

    case connected
  • The call is terminated.

    Declaration

    Swift

    case disconnected