EventLog

public class EventLog : LinphoneObject

Object that represents an event that must be stored in database. For example, all chat related events are wrapped in an EventLog, and many callbacks use this kind of type as parameter. Use getType() to get the EventLogType it refers to, and then you can use one of the accessor methods to get the underlying object, for example getChatMessage() for a ChatMessage.

  • Undocumented

    Declaration

    Swift

    public static func getSwiftObject(cObject: OpaquePointer) -> EventLog
  • Undocumented

    Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • Returns the call of a conference call event.

    Declaration

    Swift

    public var call: Call? { get }

    Return Value

    The conference Call.

  • Returns the chat message of a conference chat message event.

    Declaration

    Swift

    public var chatMessage: ChatMessage? { get }

    Return Value

    The conference ChatMessage.

  • Returns the creation time of a event log.

    Declaration

    Swift

    public var creationTime: time_t { get }

    Return Value

    The event creation time

  • Returns the device address of a conference participant device event.

    Declaration

    Swift

    public var deviceAddress: Address? { get }

    Return Value

    The conference device Address.

  • Returns the ephemeral message lifetime of a conference ephemeral message event. Ephemeral lifetime means the time before an ephemeral message which has been viewed gets deleted.

    Declaration

    Swift

    public var ephemeralMessageLifetime: Int { get }

    Return Value

    The ephemeral message lifetime.

  • Returns the local address of a conference event.

    Declaration

    Swift

    public var localAddress: Address? { get }

    Return Value

    The local Address.

  • Returns the notify id of a conference notified event.

    Declaration

    Swift

    public var notifyId: UInt { get }

    Return Value

    The conference notify id.

  • Returns the participant address of a conference participant event.

    Declaration

    Swift

    public var participantAddress: Address? { get }

    Return Value

    The conference participant Address.

  • Returns the peer address of a conference event.

    Declaration

    Swift

    public var peerAddress: Address? { get }

    Return Value

    The peer Address.

  • Returns the faulty device address of a conference security event.

    Declaration

    Swift

    public var securityEventFaultyDeviceAddress: Address? { get }

    Return Value

    The Address of the faulty device.

  • Returns the type of security event.

    Declaration

    Swift

    public var securityEventType: SecurityEventType { get }

    Return Value

    The SecurityEventType type.

  • Returns the subject of a conference subject event.

    Declaration

    Swift

    public var subject: String { get }

    Return Value

    The conference subject.

  • Returns the type of a event log.

    Declaration

    Swift

    public var type: EventLogType { get }

    Return Value

    The EventLogType type

  • Delete event log from database.

    Declaration

    Swift

    public func deleteFromDatabase()