Interface EventLog


public interface EventLog
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 EventLog.Type it refers to, and then you can use
one of the accessor methods to get the underlying object, for example getChatMessage()
for a ChatMessage.
  • Method Details

    • getCallLog

      @Nullable CallLog getCallLog()
      Returns the call log of a conference call event.

      Returns:
      The conference CallLog.
    • getChatMessage

      @Nullable ChatMessage getChatMessage()
      Returns the chat message of a conference chat message event.

      Returns:
      The conference ChatMessage.
    • getConferenceInfo

      @Nullable ConferenceInfo getConferenceInfo()
      Returns the conference info of a conference call event.

      Returns:
      The conference ConferenceInfo.
    • getCreationTime

      long getCreationTime()
      Returns the creation time of a event log.

      Returns:
      The event creation time
    • getDeviceAddress

      @Nullable Address getDeviceAddress()
      Returns the device address of a conference participant device event.

      Returns:
      The conference device Address.
    • getEphemeralMessageLifetime

      long getEphemeralMessageLifetime()
      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.
      Returns:
      The ephemeral message lifetime.
    • getLocalAddress

      @Nullable Address getLocalAddress()
      Returns the local address of a conference event.

      Returns:
      The local Address.
    • getNotifyId

      int getNotifyId()
      Returns the notify id of a conference notified event.

      Returns:
      The conference notify id.
    • getParticipantAddress

      @Nullable Address getParticipantAddress()
      Returns the participant address of a conference participant event.

      Returns:
      The conference participant Address.
    • getPeerAddress

      @Nullable Address getPeerAddress()
      Returns the peer address of a conference event.

      Returns:
      The peer Address.
    • getSecurityEventFaultyDeviceAddress

      @Nullable Address getSecurityEventFaultyDeviceAddress()
      Returns the faulty device address of a conference security event.

      Returns:
      The Address of the faulty device.
    • getSecurityEventType

      EventLog.SecurityEventType getSecurityEventType()
      Returns the type of security event.

      Returns:
      The EventLog.SecurityEventType type.
    • getSubject

      @Nullable String getSubject()
      Returns the subject of a conference subject event.

      Returns:
      The conference subject.
    • getType

      EventLog.Type getType()
      Returns the type of a event log.

      Returns:
      The EventLog.Type type
    • deleteFromDatabase

      void deleteFromDatabase()
      Delete event log from database.

    • setUserData

      void setUserData(Object data)
      Sets the object to store in this object user's data
      Parameters:
      data - the object to store
    • getUserData

      Object getUserData()
      Gets the object stored in this object user's data
      Returns:
      the object store if any, null otherwise
    • getNativePointer

      long getNativePointer()
      Gets the native pointer used by this class to make native method calls.
      Returns:
      the nativer pointer, as long
    • toString

      String toString()
      Overrides:
      toString in class Object