Liblinphone
5.3.0
|
Object defining all information related to a participant. More...
#include <participant_info.hh>
Public Member Functions | |
LINPHONECXX_PUBLIC | ParticipantInfo (void *ptr, bool takeRef=true) |
LINPHONECXX_PUBLIC _LinphoneParticipantInfo * | cPtr () |
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::Address > | getAddress () const |
Get the address of the object ParticipantInfo. More... | |
LINPHONECXX_PUBLIC linphone::Participant::Role | getRole () const |
Get the role of the object ParticipantInfo. More... | |
LINPHONECXX_PUBLIC void | setRole (linphone::Participant::Role role) |
Set the role of the object ParticipantInfo. More... | |
LINPHONECXX_PUBLIC void | addParameter (const std::string &name, const std::string &value) |
Set the a custom parameter to object ParticipantInfo. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::ParticipantInfo > | clone () const |
Clone an object ParticipantInfo. More... | |
LINPHONECXX_PUBLIC std::string | getParameterValue (const std::string &name) const |
Get the value of a custom parameter of the object ParticipantInfo. More... | |
LINPHONECXX_PUBLIC bool | hasParameter (const std::string &name) const |
Find whether a ParticipantInfo has a parameter. More... | |
LINPHONECXX_PUBLIC void | removeParameter (const std::string &name) |
Find the value of a custom parameter of the object ParticipantInfo. More... | |
Object defining all information related to a participant.
LINPHONECXX_PUBLIC void linphone::ParticipantInfo::addParameter | ( | const std::string & | name, |
const std::string & | value | ||
) |
Set the a custom parameter to object ParticipantInfo.
name | the name of the parameter. |
value | the value of the parameter. |
LINPHONECXX_PUBLIC std::shared_ptr<linphone::ParticipantInfo> linphone::ParticipantInfo::clone | ( | ) | const |
Clone an object ParticipantInfo.
LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::ParticipantInfo::getAddress | ( | ) | const |
Get the address of the object ParticipantInfo.
LINPHONECXX_PUBLIC std::string linphone::ParticipantInfo::getParameterValue | ( | const std::string & | name | ) | const |
Get the value of a custom parameter of the object ParticipantInfo.
name | the name of the parameter. |
LINPHONECXX_PUBLIC linphone::Participant::Role linphone::ParticipantInfo::getRole | ( | ) | const |
Get the role of the object ParticipantInfo.
LINPHONECXX_PUBLIC bool linphone::ParticipantInfo::hasParameter | ( | const std::string & | name | ) | const |
Find whether a ParticipantInfo has a parameter.
name | the name of the parameter. |
LINPHONECXX_PUBLIC void linphone::ParticipantInfo::removeParameter | ( | const std::string & | name | ) |
Find the value of a custom parameter of the object ParticipantInfo.
name | the name of the parameter. |
LINPHONECXX_PUBLIC void linphone::ParticipantInfo::setRole | ( | linphone::Participant::Role | role | ) |
Set the role of the object ParticipantInfo.
role | the Participant::Role of the ParticipantInfo object. |