Liblinphone
4.5.0
|
This object represents a unique device for a member of a Conference or ChatRoom. More...
#include <participant_device.hh>
Public Member Functions | |
ParticipantDevice (void *ptr, bool takeRef=true) | |
LINPHONECXX_PUBLIC _LinphoneParticipantDevice * | cPtr () |
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::Address > | getAddress () const |
Get the address of a participant's device. More... | |
LINPHONECXX_PUBLIC bool | isInConference () const |
Return whether the participant device is in a conference or not. More... | |
LINPHONECXX_PUBLIC std::string | getName () const |
Return the name of the device or nullptr. More... | |
LINPHONECXX_PUBLIC linphone::ChatRoomSecurityLevel | getSecurityLevel () const |
Get the security level of a participant's device. More... | |
LINPHONECXX_PUBLIC time_t | getTimeOfJoining () const |
Get the timestamp the device joined a conference. More... | |
This object represents a unique device for a member of a Conference or ChatRoom.
Devices are identified by the gruu parameter inside the Address which can be obtained by getAddress(). It is specially usefull to know the security level of each device inside an end-to-end encrypted ChatRoom. You can get a list of all ParticipantDevice using Participant::getDevices().
LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::ParticipantDevice::getAddress | ( | ) | const |
Get the address of a participant's device.
LINPHONECXX_PUBLIC std::string linphone::ParticipantDevice::getName | ( | ) | const |
Return the name of the device or nullptr.
LINPHONECXX_PUBLIC linphone::ChatRoomSecurityLevel linphone::ParticipantDevice::getSecurityLevel | ( | ) | const |
Get the security level of a participant's device.
LINPHONECXX_PUBLIC time_t linphone::ParticipantDevice::getTimeOfJoining | ( | ) | const |
Get the timestamp the device joined a conference.
LINPHONECXX_PUBLIC bool linphone::ParticipantDevice::isInConference | ( | ) | const |
Return whether the participant device is in a conference or not.