Liblinphone
5.3.0
|
Typedefs | |
typedef struct _LinphoneEvent | LinphoneEvent |
Object representing an event state, which is subcribed or published. More... | |
typedef struct _LinphoneEventCbs | LinphoneEventCbs |
An object to handle the callbacks for handling the LinphoneEvent operations. | |
typedef struct _LinphoneEventLog | LinphoneEventLog |
Object that represents an event that must be stored in database. More... | |
typedef enum _EventLogType | LinphoneEventLogType |
LinphoneEventLogType is used to indicate the type of an event. More... | |
typedef enum _SecurityEventType | LinphoneSecurityEventType |
LinphoneSecurityEventType is used to indicate the type of security event. | |
Functions | |
LinphoneEventLog * | linphone_event_log_ref (LinphoneEventLog *event_log) |
Increment reference count of LinphoneEventLog object. More... | |
void | linphone_event_log_unref (LinphoneEventLog *event_log) |
Decrement reference count of LinphoneEventLog object. More... | |
LinphoneEventLogType | linphone_event_log_get_type (const LinphoneEventLog *event_log) |
Returns the type of a event log. More... | |
time_t | linphone_event_log_get_creation_time (const LinphoneEventLog *event_log) |
Returns the creation time of a event log. More... | |
void | linphone_event_log_delete_from_database (LinphoneEventLog *event_log) |
Delete event log from database. More... | |
const LinphoneAddress * | linphone_event_log_get_peer_address (const LinphoneEventLog *event_log) |
Returns the peer address of a conference event. More... | |
const LinphoneAddress * | linphone_event_log_get_local_address (const LinphoneEventLog *event_log) |
Returns the local address of a conference event. More... | |
unsigned int | linphone_event_log_get_notify_id (const LinphoneEventLog *event_log) |
Returns the notify id of a conference notified event. More... | |
LinphoneCallLog * | linphone_event_log_get_call_log (const LinphoneEventLog *event_log) |
Returns the call log of a conference call event. More... | |
LinphoneConferenceInfo * | linphone_event_log_get_conference_info (const LinphoneEventLog *event_log) |
Returns the conference info of a conference call event. More... | |
LinphoneChatMessage * | linphone_event_log_get_chat_message (const LinphoneEventLog *event_log) |
Returns the chat message of a conference chat message event. More... | |
const LinphoneAddress * | linphone_event_log_get_participant_address (const LinphoneEventLog *event_log) |
Returns the participant address of a conference participant event. More... | |
const LinphoneAddress * | linphone_event_log_get_device_address (const LinphoneEventLog *event_log) |
Returns the device address of a conference participant device event. More... | |
LinphoneSecurityEventType | linphone_event_log_get_security_event_type (const LinphoneEventLog *event_log) |
Returns the type of security event. More... | |
const LinphoneAddress * | linphone_event_log_get_security_event_faulty_device_address (const LinphoneEventLog *event_log) |
Returns the faulty device address of a conference security event. More... | |
const char * | linphone_event_log_get_subject (const LinphoneEventLog *event_log) |
Returns the subject of a conference subject event. More... | |
long | linphone_event_log_get_ephemeral_message_lifetime (const LinphoneEventLog *event_log) |
Returns the ephemeral message lifetime of a conference ephemeral message event. More... | |
typedef struct _LinphoneEvent LinphoneEvent |
Object representing an event state, which is subcribed or published.
typedef struct _LinphoneEventLog LinphoneEventLog |
Object that represents an event that must be stored in database.
For example, all chat related events are wrapped in an LinphoneEventLog, and many callbacks use this kind of type as parameter.
Use linphone_event_log_get_type() to get the LinphoneEventLogType it refers to, and then you can use one of the accessor methods to get the underlying object, for example linphone_event_log_get_chat_message() for a LinphoneChatMessage.
typedef enum _EventLogType LinphoneEventLogType |
LinphoneEventLogType is used to indicate the type of an event.
Useful for cast.
enum _EventLogType |
LinphoneEventLogType is used to indicate the type of an event.
Useful for cast.
enum _SecurityEventType |
LinphoneSecurityEventType is used to indicate the type of security event.
void linphone_event_log_delete_from_database | ( | LinphoneEventLog * | event_log | ) |
Delete event log from database.
event_log | A LinphoneEventLog object |
LinphoneCallLog* linphone_event_log_get_call_log | ( | const LinphoneEventLog * | event_log | ) |
Returns the call log of a conference call event.
event_log | A LinphoneEventLog object. |
LinphoneChatMessage* linphone_event_log_get_chat_message | ( | const LinphoneEventLog * | event_log | ) |
Returns the chat message of a conference chat message event.
event_log | A LinphoneEventLog object. |
LinphoneConferenceInfo* linphone_event_log_get_conference_info | ( | const LinphoneEventLog * | event_log | ) |
Returns the conference info of a conference call event.
event_log | A LinphoneEventLog object. |
time_t linphone_event_log_get_creation_time | ( | const LinphoneEventLog * | event_log | ) |
Returns the creation time of a event log.
event_log | A LinphoneEventLog object |
const LinphoneAddress* linphone_event_log_get_device_address | ( | const LinphoneEventLog * | event_log | ) |
Returns the device address of a conference participant device event.
event_log | A LinphoneEventLog object. |
long linphone_event_log_get_ephemeral_message_lifetime | ( | const LinphoneEventLog * | event_log | ) |
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.
event_log | A LinphoneEventLog object. |
const LinphoneAddress* linphone_event_log_get_local_address | ( | const LinphoneEventLog * | event_log | ) |
Returns the local address of a conference event.
event_log | A LinphoneEventLog object. |
unsigned int linphone_event_log_get_notify_id | ( | const LinphoneEventLog * | event_log | ) |
Returns the notify id of a conference notified event.
event_log | A LinphoneEventLog object. |
const LinphoneAddress* linphone_event_log_get_participant_address | ( | const LinphoneEventLog * | event_log | ) |
Returns the participant address of a conference participant event.
event_log | A ConferenceParticipantEvent object. |
const LinphoneAddress* linphone_event_log_get_peer_address | ( | const LinphoneEventLog * | event_log | ) |
Returns the peer address of a conference event.
event_log | A LinphoneEventLog object. |
const LinphoneAddress* linphone_event_log_get_security_event_faulty_device_address | ( | const LinphoneEventLog * | event_log | ) |
Returns the faulty device address of a conference security event.
event_log | A LinphoneEventLog object. |
LinphoneSecurityEventType linphone_event_log_get_security_event_type | ( | const LinphoneEventLog * | event_log | ) |
Returns the type of security event.
event_log | A LinphoneEventLog object. |
const char* linphone_event_log_get_subject | ( | const LinphoneEventLog * | event_log | ) |
Returns the subject of a conference subject event.
event_log | A LinphoneEventLog object. |
LinphoneEventLogType linphone_event_log_get_type | ( | const LinphoneEventLog * | event_log | ) |
Returns the type of a event log.
event_log | A LinphoneEventLog object |
LinphoneEventLog* linphone_event_log_ref | ( | LinphoneEventLog * | event_log | ) |
Increment reference count of LinphoneEventLog object.
event_log | A LinphoneEventLog object |
void linphone_event_log_unref | ( | LinphoneEventLog * | event_log | ) |
Decrement reference count of LinphoneEventLog object.
When dropped to zero, memory is freed.
event_log | A LinphoneEventLog object |