Liblinphone
5.3.0
|
Presence activity type holding information about a presence activity. More...
#include <presence_activity.hh>
Public Types | |
enum | Type { Type::Appointment = 0, Type::Away = 1, Type::Breakfast = 2, Type::Busy = 3, Type::Dinner = 4, Type::Holiday = 5, Type::InTransit = 6, Type::LookingForWork = 7, Type::Lunch = 8, Type::Meal = 9, Type::Meeting = 10, Type::OnThePhone = 11, Type::Other = 12, Type::Performance = 13, Type::PermanentAbsence = 14, Type::Playing = 15, Type::Presentation = 16, Type::Shopping = 17, Type::Sleeping = 18, Type::Spectator = 19, Type::Steering = 20, Type::Travel = 21, Type::TV = 22, Type::Unknown = 23, Type::Vacation = 24, Type::Working = 25, Type::Worship = 26 } |
Activities as defined in section 3.2 of RFC 4480. More... | |
Public Member Functions | |
LINPHONECXX_PUBLIC | PresenceActivity (void *ptr, bool takeRef=true) |
LINPHONECXX_PUBLIC _LinphonePresenceActivity * | cPtr () |
LINPHONECXX_PUBLIC std::string | getDescription () const |
Gets the description of a presence activity. More... | |
LINPHONECXX_PUBLIC linphone::Status | setDescription (const std::string &description) |
Sets the description of a presence activity. More... | |
LINPHONECXX_PUBLIC Type | getType () const |
Gets the activity type of a presence activity. More... | |
LINPHONECXX_PUBLIC linphone::Status | setType (Type acttype) |
Sets the type of activity of a presence activity. More... | |
LINPHONECXX_PUBLIC std::string | toString () const |
Gets the string representation of a presence activity. More... | |
Presence activity type holding information about a presence activity.
|
strong |
Activities as defined in section 3.2 of RFC 4480.
LINPHONECXX_PUBLIC std::string linphone::PresenceActivity::getDescription | ( | ) | const |
Gets the description of a presence activity.
LINPHONECXX_PUBLIC Type linphone::PresenceActivity::getType | ( | ) | const |
Gets the activity type of a presence activity.
LINPHONECXX_PUBLIC linphone::Status linphone::PresenceActivity::setDescription | ( | const std::string & | description | ) |
Sets the description of a presence activity.
description | An additional description of the activity. Can be nullptr if no additional description is to be added. |
LINPHONECXX_PUBLIC linphone::Status linphone::PresenceActivity::setType | ( | Type | acttype | ) |
Sets the type of activity of a presence activity.
acttype | The Type to set for the activity. |
LINPHONECXX_PUBLIC std::string linphone::PresenceActivity::toString | ( | ) | const |
Gets the string representation of a presence activity.