|
Liblinphone 5.3.0
|
Identifies a member of a Conference or ChatRoom. More...
#include <participant.hh>
Public Types | |
| enum class | Role { Speaker = 0 , Listener = 1 , Unknown = 2 } |
| Role is used to define a role of a participant within a conference More... | |
Public Member Functions | |
| LINPHONECXX_PUBLIC | Participant (void *ptr, bool takeRef=true) |
| LINPHONECXX_PUBLIC _LinphoneParticipant * | cPtr () |
| LINPHONECXX_PUBLIC std::shared_ptr< const linphone::Address > | getAddress () const |
| Get the address of a conference participant. | |
| LINPHONECXX_PUBLIC time_t | getCreationTime () const |
| Get the timestamp of the creation of the participant. | |
| LINPHONECXX_PUBLIC std::list< std::shared_ptr< linphone::ParticipantDevice > > | getDevices () const |
| Gets the list of devices from a chat room's participant. | |
| LINPHONECXX_PUBLIC bool | isAdmin () const |
| Tells whether a conference participant is an administrator of the conference. | |
| LINPHONECXX_PUBLIC bool | isFocus () const |
| Tells whether a conference participant is the focus of the conference. | |
| LINPHONECXX_PUBLIC Role | getRole () const |
| Get the role of the participant within the conference. | |
| LINPHONECXX_PUBLIC linphone::ChatRoom::SecurityLevel | getSecurityLevel () const |
| Get the security level of a participant. | |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::ParticipantDevice > | findDevice (const std::shared_ptr< const linphone::Call > &call) const |
| Find a device in the list of devices from a chat room's participant. | |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::ParticipantDevice > | findDevice (const std::shared_ptr< const linphone::Address > &address) const |
| Find a device in the list of devices from a chat room's participant. | |
Identifies a member of a Conference or ChatRoom.
A participant is identified by it's SIP address. It can have many ParticipantDevice.
|
strong |
Role is used to define a role of a participant within a conference
| Enumerator | |
|---|---|
| Speaker | participant is a speaker in the conference |
| Listener | participant is a listener in the conference. |
| Unknown | participant role is unknown |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::ParticipantDevice > linphone::Participant::findDevice | ( | const std::shared_ptr< const linphone::Address > & | address | ) | const |
Find a device in the list of devices from a chat room's participant.
| address | A Address object |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::ParticipantDevice > linphone::Participant::findDevice | ( | const std::shared_ptr< const linphone::Call > & | call | ) | const |
Find a device in the list of devices from a chat room's participant.
| call | A Call object |
| LINPHONECXX_PUBLIC std::shared_ptr< const linphone::Address > linphone::Participant::getAddress | ( | ) | const |
Get the address of a conference participant.
| LINPHONECXX_PUBLIC time_t linphone::Participant::getCreationTime | ( | ) | const |
Get the timestamp of the creation of the participant.
| LINPHONECXX_PUBLIC std::list< std::shared_ptr< linphone::ParticipantDevice > > linphone::Participant::getDevices | ( | ) | const |
Gets the list of devices from a chat room's participant.
| LINPHONECXX_PUBLIC Role linphone::Participant::getRole | ( | ) | const |
Get the role of the participant within the conference.
| LINPHONECXX_PUBLIC linphone::ChatRoom::SecurityLevel linphone::Participant::getSecurityLevel | ( | ) | const |
Get the security level of a participant.
| LINPHONECXX_PUBLIC bool linphone::Participant::isAdmin | ( | ) | const |
Tells whether a conference participant is an administrator of the conference.
| LINPHONECXX_PUBLIC bool linphone::Participant::isFocus | ( | ) | const |
Tells whether a conference participant is the focus of the conference.