CallLog

public class CallLog : LinphoneObject

Structure representing a call log.

  • Get the call ID used by the call.

    Declaration

    Swift

    public var callId: String { get }

    Return Value

    The call ID used by the call as a string.

  • dir

    Get the direction of the call.

    Declaration

    Swift

    public var dir: Call.Dir { get }

    Return Value

    The direction of the call.

  • Get the duration of the call since connected.

    Declaration

    Swift

    public var duration: Int { get }

    Return Value

    The duration of the call in seconds.

  • When the call was failed, return an object describing the failure.

    Declaration

    Swift

    public var errorInfo: ErrorInfo? { get }

    Return Value

    information about the error encountered by the call associated with this call log.

  • Get the origin address (ie from) of the call.

    Declaration

    Swift

    public var fromAddress: Address? { get }

    Return Value

    The origin address (ie from) of the call.

  • Get the local address (that is from or to depending on call direction)

    Declaration

    Swift

    public var localAddress: Address? { get }

    Return Value

    The local address of the call

  • Get the overall quality indication of the call.

    Declaration

    Swift

    public var quality: Float { get }

    Return Value

    The overall quality indication of the call.

  • Get the persistent reference key associated to the call log. The reference key can be for example an id to an external database. It is stored in the config file, thus can survive to process exits/restarts.

    Declaration

    Swift

    public var refKey: String { get set }

    Return Value

    The reference key string that has been associated to the call log, or nil if none has been associated.

  • Get the remote address (that is from or to depending on call direction).

    Declaration

    Swift

    public var remoteAddress: Address? { get }

    Return Value

    The remote address of the call.

  • Get the start date of the call.

    Declaration

    Swift

    public var startDate: Int { get }

    Return Value

    The date of the beginning of the call.

  • Get the status of the call.

    Declaration

    Swift

    public var status: Call.Status { get }

    Return Value

    The status of the call.

  • Get the destination address (ie to) of the call.

    Declaration

    Swift

    public var toAddress: Address? { get }

    Return Value

    The destination address (ie to) of the call.

  • Tell whether video was enabled at the end of the call or not.

    Declaration

    Swift

    public var videoEnabled: Bool { get }

    Return Value

    A boolean value telling whether video was enabled at the end of the call.

  • Get a human readable string describing the call.

    Note

    : the returned string must be freed by the application (use ms_free()).

    Declaration

    Swift

    public func toStr() -> String

    Return Value

    A human readable string describing the call.

  • Tells whether that call was a call to a conference server.

    Declaration

    Swift

    public func wasConference() -> Bool

    Return Value

    if the call was a call to a conference server