|
Liblinphone 5.5.0
|
#include <presence_service.hh>
Public Member Functions | |
| LINPHONECXX_PUBLIC | PresenceService (void *ptr, bool takeRef=true) |
| LINPHONECXX_PUBLIC _LinphonePresenceService * | cPtr () |
| LINPHONECXX_PUBLIC linphone::PresenceBasicStatus | getBasicStatus () const |
| LINPHONECXX_PUBLIC linphone::Status | setBasicStatus (linphone::PresenceBasicStatus basicStatus) |
| LINPHONECXX_PUBLIC std::string | getContact () const |
| LINPHONECXX_PUBLIC linphone::Status | setContact (const std::string &contact) |
| LINPHONECXX_PUBLIC std::string | getId () const |
| LINPHONECXX_PUBLIC linphone::Status | setId (const std::string &id) |
| LINPHONECXX_PUBLIC unsigned int | getNbNotes () const |
| LINPHONECXX_PUBLIC std::list< std::string > | getServiceDescriptions () const |
| LINPHONECXX_PUBLIC linphone::Status | setServiceDescriptions (const std::list< std::string > &descriptions) |
| LINPHONECXX_PUBLIC linphone::Status | addNote (const std::shared_ptr< linphone::PresenceNote > ¬e) |
| LINPHONECXX_PUBLIC linphone::Status | clearNotes () |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::PresenceNote > | getNthNote (unsigned int index) const |
Presence service type holding information about a presence service.
| LINPHONECXX_PUBLIC linphone::Status linphone::PresenceService::addNote | ( | const std::shared_ptr< linphone::PresenceNote > & | note | ) |
Adds a note to a presence service.
| note | The PresenceNote object to add to the service. |
| LINPHONECXX_PUBLIC linphone::Status linphone::PresenceService::clearNotes | ( | ) |
Clears the notes of a presence service.
| LINPHONECXX_PUBLIC linphone::PresenceBasicStatus linphone::PresenceService::getBasicStatus | ( | ) | const |
Gets the basic status of a presence service.
| LINPHONECXX_PUBLIC std::string linphone::PresenceService::getContact | ( | ) | const |
Gets the contact of a presence service.
| LINPHONECXX_PUBLIC std::string linphone::PresenceService::getId | ( | ) | const |
Gets the id of a presence service.
| LINPHONECXX_PUBLIC unsigned int linphone::PresenceService::getNbNotes | ( | ) | const |
Gets the number of notes included in the presence service.
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::PresenceNote > linphone::PresenceService::getNthNote | ( | unsigned int | index | ) | const |
Gets the nth note of a presence service.
| index | The index of the note to get (the first note having the index 0). |
| LINPHONECXX_PUBLIC std::list< std::string > linphone::PresenceService::getServiceDescriptions | ( | ) | const |
Gets the service descriptions of a presence service.
| LINPHONECXX_PUBLIC linphone::Status linphone::PresenceService::setBasicStatus | ( | linphone::PresenceBasicStatus | basicStatus | ) |
Sets the basic status of a presence service.
| basicStatus | The PresenceBasicStatus to set for the PresenceService object. |
| LINPHONECXX_PUBLIC linphone::Status linphone::PresenceService::setContact | ( | const std::string & | contact | ) |
Sets the contact of a presence service.
| contact | The contact string to set. |
| LINPHONECXX_PUBLIC linphone::Status linphone::PresenceService::setId | ( | const std::string & | id | ) |
Sets the id of a presence service.
| id | The id string to set. Can be nullptr to generate it automatically. |
| LINPHONECXX_PUBLIC linphone::Status linphone::PresenceService::setServiceDescriptions | ( | const std::list< std::string > & | descriptions | ) |
Sets the service descriptions of a presence service.
| descriptions | The service descriptions. |