SparkError

public enum SparkError : Error

The enumeration of error types in Cisco Spark iOS SDK.

Since

1.2.0
  • A service request to Cisco Spark cloud has failed.

    Declaration

    Swift

    case serviceFailed(code: Int, reason: String)
  • The Phone has not been registered.

    Declaration

    Swift

    case unregistered
  • The media requires H.264 codec.

    Declaration

    Swift

    case requireH264
  • The DTMF is invalid.

    Declaration

    Swift

    case invalidDTMF
  • The DTMF is unsupported.

    Declaration

    Swift

    case unsupportedDTMF
  • The service request is illegal.

    Declaration

    Swift

    case illegalOperation(reason: String)
  • The service is in an illegal status.

    Declaration

    Swift

    case illegalStatus(reason: String)
  • The authentication is failed.

    Since

    since 1.4.0

    Declaration

    Swift

    case noAuth
  • Details of the error.

    Declaration

    Swift

    public var errorDescription: String? { get }