Liblinphone  4.5.0
Typedefs
Conference

Typedefs

typedef void(* LinphoneConferenceCbsParticipantAddedCb) (LinphoneConference *conference, const LinphoneParticipant *participant)
 Callback used to notify a chat room that a participant has been added. More...
 
typedef void(* LinphoneConferenceCbsParticipantRemovedCb) (LinphoneConference *conference, const LinphoneParticipant *participant)
 Callback used to notify a chat room that a participant has been removed. More...
 
typedef void(* LinphoneConferenceCbsParticipantAdminStatusChangedCb) (LinphoneConference *conference, const LinphoneParticipant *participant)
 Callback used to notify a chat room that the admin status of a participant has been changed. More...
 
typedef void(* LinphoneConferenceCbsStateChangedCb) (LinphoneConference *conference, LinphoneConferenceState newState)
 Callback used to notify a chat room state has changed. More...
 
typedef void(* LinphoneConferenceCbsSubjectChangedCb) (LinphoneConference *conference, const char *subject)
 Callback used to notify that the subject of a chat room has changed. More...
 
typedef void(* LinphoneConferenceCbsParticipantDeviceAddedCb) (LinphoneConference *conference, const LinphoneParticipantDevice *participant_device)
 Callback used to notify a chat room that a participant has been added. More...
 
typedef void(* LinphoneConferenceCbsParticipantDeviceRemovedCb) (LinphoneConference *conference, const LinphoneParticipantDevice *participant_device)
 Callback used to notify a chat room that a participant has been removed. More...
 
typedef struct _LinphoneParticipant LinphoneParticipant
 Identifies a member of a LinphoneConference or LinphoneChatRoom. More...
 
typedef struct _LinphoneParticipantDevice LinphoneParticipantDevice
 This object represents a unique device for a member of a LinphoneConference or LinphoneChatRoom. More...
 
typedef struct _LinphoneParticipantImdnState LinphoneParticipantImdnState
 This object represents the delivery/display state of a given chat message for a given participant. More...
 
typedef struct _LinphoneParticipantDeviceIdentity LinphoneParticipantDeviceIdentity
 This object is only used on server side for LinphoneChatRoom with LinphoneChatRoomBackendFlexisipChat backend.
 

Detailed Description

Typedef Documentation

◆ LinphoneConferenceCbsParticipantAddedCb

typedef void(* LinphoneConferenceCbsParticipantAddedCb) (LinphoneConference *conference, const LinphoneParticipant *participant)

Callback used to notify a chat room that a participant has been added.

Parameters
[in]conferenceLinphoneConference object
[in]participantLinphoneParticipant that has been added to the conference

◆ LinphoneConferenceCbsParticipantAdminStatusChangedCb

typedef void(* LinphoneConferenceCbsParticipantAdminStatusChangedCb) (LinphoneConference *conference, const LinphoneParticipant *participant)

Callback used to notify a chat room that the admin status of a participant has been changed.

Parameters
[in]conferenceLinphoneConference object
[in]participantLinphoneParticipant whose admin status has changed

◆ LinphoneConferenceCbsParticipantDeviceAddedCb

typedef void(* LinphoneConferenceCbsParticipantDeviceAddedCb) (LinphoneConference *conference, const LinphoneParticipantDevice *participant_device)

Callback used to notify a chat room that a participant has been added.

Parameters
[in]conferenceLinphoneConference object
[in]participant_deviceLinphoneParticipantDevice that has been added to the conference

◆ LinphoneConferenceCbsParticipantDeviceRemovedCb

typedef void(* LinphoneConferenceCbsParticipantDeviceRemovedCb) (LinphoneConference *conference, const LinphoneParticipantDevice *participant_device)

Callback used to notify a chat room that a participant has been removed.

Parameters
[in]conferenceLinphoneConference object
[in]participant_deviceLinphoneParticipantDevice that has been removed to the conference

◆ LinphoneConferenceCbsParticipantRemovedCb

typedef void(* LinphoneConferenceCbsParticipantRemovedCb) (LinphoneConference *conference, const LinphoneParticipant *participant)

Callback used to notify a chat room that a participant has been removed.

Parameters
[in]conferenceLinphoneConference object
[in]participantLinphoneParticipant that has been removed to the conference

◆ LinphoneConferenceCbsStateChangedCb

typedef void(* LinphoneConferenceCbsStateChangedCb) (LinphoneConference *conference, LinphoneConferenceState newState)

Callback used to notify a chat room state has changed.

Parameters
[in]conferenceLinphoneConference object
[in]newStateThe new state of the chat room

◆ LinphoneConferenceCbsSubjectChangedCb

typedef void(* LinphoneConferenceCbsSubjectChangedCb) (LinphoneConference *conference, const char *subject)

Callback used to notify that the subject of a chat room has changed.

Parameters
[in]conferenceLinphoneConference object
[in]subjectsubject of the conference

◆ LinphoneParticipant

typedef struct _LinphoneParticipant LinphoneParticipant

Identifies a member of a LinphoneConference or LinphoneChatRoom.

A participant is identified by it's SIP address. It can have many LinphoneParticipantDevice.

◆ LinphoneParticipantDevice

typedef struct _LinphoneParticipantDevice LinphoneParticipantDevice

This object represents a unique device for a member of a LinphoneConference or LinphoneChatRoom.

Devices are identified by the gruu parameter inside the LinphoneAddress which can be obtained by linphone_participant_device_get_address(). It is specially usefull to know the security level of each device inside an end-to-end encrypted LinphoneChatRoom.

You can get a list of all LinphoneParticipantDevice using linphone_participant_get_devices().

◆ LinphoneParticipantImdnState

typedef struct _LinphoneParticipantImdnState LinphoneParticipantImdnState

This object represents the delivery/display state of a given chat message for a given participant.

It also contains a timestamp at which this participant state has changed.

Use linphone_chat_message_get_participants_by_imdn_state() to get all LinphoneParticipantImdnState for a given state. From there use linphone_participant_imdn_state_get_participant() to get the LinphoneParticipant object if you need it.