DirectCallLog

@objcMembers
@objc(SBCDirectCallLog)
public class DirectCallLog : NSObject, Codable

Direct Call Log containing information about a direct call.

Since

1.0.0
  • Call Id of the Call

    Since

    1.0.0

    Declaration

    Swift

    public let callId: String
  • If the call log data is from server, it returns true

    Since

    1.1.0

    Declaration

    Swift

    public let isFromServer: Bool
  • The started time of the Call. Int64 of miliseconds.

    Since

    1.0.0

    Declaration

    Swift

    public private(set) var startedAt: Int64 { get }
  • The ended time of the Call. Int64 of miliseconds.

    Since

    1.0.0

    Declaration

    Swift

    public internal(set) var endedAt: Int64 { get }
  • The duration of the Call. Int64 of miliseconds.

    Since

    1.0.0

    Declaration

    Swift

    public var duration: Int64 { get }
  • DirectCallUser that ended the call.

    Since

    1.0.0

    Declaration

    Swift

    public var endedBy: DirectCallUser? { get }
  • The caller of the call.

    Since

    1.0.0

    Declaration

    Swift

    public var caller: DirectCallUser? { get }
  • The callee of the call.

    Since

    1.0.0

    Declaration

    Swift

    public var callee: DirectCallUser? { get }
  • The end result of the call.

    Since

    1.0.0

    Declaration

    Swift

    public internal(set) var endResult: DirectCallEndResult { get }
  • The role of the current user in the call.

    Since

    1.0.0

    Declaration

    Swift

    public private(set) var myRole: DirectCall.UserRole { get }
  • A boolean value indicating whether the call is video call.

    Since

    1.0.0

    Declaration

    Swift

    public private(set) var isVideoCall: Bool { get }
  • Custom items of DirectCallLog instance.

    Since

    1.0.0

    Declaration

    Swift

    public private(set) var customItems: [String : String] { get }
  • Declaration

    Swift

    required public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • The hash value of DirectCallLog.

    Declaration

    Swift

    public override var hash: Int { get }
  • Returns a Boolean value that indicates whether the DirectCallLog and a given object are equal.

    Declaration

    Swift

    public override func isEqual(_ object: Any?) -> Bool