Package org.linphone.core
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
many callbacks use this kind of type as parameter.
Use
one of the accessor methods to get the underlying object, for example
for a
For example, all chat related events are wrapped in an
EventLog
, andmany callbacks use this kind of type as parameter.
Use
getType()
to get the EventLog.Type
it refers to, and then you can useone of the accessor methods to get the underlying object, for example
getChatMessage()
for a
ChatMessage
. -
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Delete event log from database.Returns the call log of a conference call event.Returns the chat message of a conference chat message event.Returns the conference info of a conference call event.long
Returns the creation time of a event log.Returns the device address of a conference participant device event.long
Returns the ephemeral message lifetime of a conference ephemeral message event.Returns the local address of a conference event.long
Gets the native pointer used by this class to make native method calls.int
Returns the notify id of a conference notified event.Returns the participant address of a conference participant event.Returns the peer address of a conference event.Returns the faulty device address of a conference security event.Returns the type of security event.Returns the subject of a conference subject event.getType()
Returns the type of a event log.Gets the object stored in this object user's datavoid
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getCallLog
Returns the call log of a conference call event.
- Returns:
- The conference
CallLog
.
-
getChatMessage
Returns the chat message of a conference chat message event.
- Returns:
- The conference
ChatMessage
.
-
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
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
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
Returns the participant address of a conference participant event.
- Returns:
- The conference participant
Address
.
-
getPeerAddress
Returns the peer address of a conference event.
- Returns:
- The peer
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
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
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()
-