SinchCallDetails

public final class SinchCallDetails

The SinchCallDetails holds metadata about a call (SinchCall)

  • Call End Cause

    See more

    Declaration

    Swift

    public enum EndCause : String, CaseIterable
  • The start time of the call.

    Before the call has started, the value of the startedTime property is nil.

    Declaration

    Swift

    public var startedTime: Date? { get }
  • The time where the call did progress, if it reached progressing state.

    Before the call has reached progressing state, the value of the progressedTime property is nil.

    Declaration

    Swift

    public var progressedTime: Date? { get }
  • The time where the call did ring, if it reached ringing state.

    Before the call has reached ringing state, the value of the rungTime property is nil.

    Declaration

    Swift

    public var rungTime: Date? { get }
  • The time where the call was answered, if it reached answered state.

    Before the call has reached answered state, the value of the answeredTime property is nil.

    Declaration

    Swift

    public var answeredTime: Date? { get }
  • The time at which the call was established, if it reached established state.

    Before the call has reached established state, the value of the establishedTime property is nil.

    Declaration

    Swift

    public var establishedTime: Date? { get }
  • The end time of the call.

    Before the call has ended, the value of the endedTime property is nil.

    Declaration

    Swift

    public var endedTime: Date? { get }
  • Holds the cause of why a call ended, after it has ended. It may be one of the following:

    See also

    EndCause

    If the call has not ended yet, the value is SinchCall.EndCause.none.

    Declaration

    Swift

    public var endCause: EndCause { get }
  • If the end cause is error, then this property contains an error object that describes the error.

    If the call has not ended yet or if the end cause is not an error, the value of this property is nil.

    Declaration

    Swift

    public var error: Error? { get }
  • Hint that indicates if video is offered in the call.

    Declaration

    Swift

    public var isVideoOffered: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var toString: String { get }