DirectCallEndResult

@objc(SBCDirectCallEndResult)
public enum DirectCallEndResult : Int, RawRepresentable, Codable

End results for DirectCall. Indicates reasons for failure or completion. Value for an ongoing call is none.

Since

1.0.0

  • Tag: DirectCallEndResult

  • Default value of the EndResult.

    Since

    1.0.0

    Declaration

    Swift

    case none
  • The call has ended by either the caller or callee after successful connection.

    Since

    1.0.0

    Declaration

    Swift

    case completed
  • The caller has canceled the call before the callee accepts or declines.

    Since

    1.0.0

    Declaration

    Swift

    case canceled
  • The callee has declined the call.

    Since

    1.0.0

    Declaration

    Swift

    case declined
  • The call is accepted on one of the callee’s other devices. All the other devices will receive this call result.

    Since

    1.0.0

    Declaration

    Swift

    case otherDeviceAccepted
  • SendBird server failed to establish a media session between the caller and callee within a specific period of time.

    Since

    1.0.0

    Declaration

    Swift

    case timedOut
  • Data streaming from either the caller or the callee has stopped due to a WebRTC connection issue while calling.

    Since

    1.0.0

    Declaration

    Swift

    case connectionLost
  • The callee hasn’t either accepted or declined the call for a specific period of time.

    Since

    1.0.0

    Declaration

    Swift

    case noAnswer
  • The dial() method of the call has failed.

    Since

    1.0.0

    Declaration

    Swift

    case dialFailed
  • The accept() method of the call has failed.

    Since

    1.0.0

    Declaration

    Swift

    case acceptFailed
  • Since

    1.0.0

    Declaration

    Swift

    case unknown
  • Declaration

    Swift

    public typealias RawValue = String
  • Since

    1.0.0

    Declaration

    Swift

    public var rawValue: RawValue { get }
  • Since

    1.0.0

    Declaration

    Swift

    public init(rawValue: String)