#include <friend_phone_number.hh>
|
|
LINPHONECXX_PUBLIC | FriendPhoneNumber (void *ptr, bool takeRef=true) |
| |
|
LINPHONECXX_PUBLIC _LinphoneFriendPhoneNumber * | cPtr () |
| |
| LINPHONECXX_PUBLIC std::string | getLabel () const |
| |
| LINPHONECXX_PUBLIC void | setLabel (const std::string &label) |
| |
| LINPHONECXX_PUBLIC std::string | getPhoneNumber () const |
| |
| LINPHONECXX_PUBLIC void | setPhoneNumber (const std::string &number) |
| |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::FriendPhoneNumber > | clone () const |
| |
Object that represents a Friend's phone number.
◆ clone()
◆ getLabel()
| LINPHONECXX_PUBLIC std::string linphone::FriendPhoneNumber::getLabel |
( |
| ) |
const |
Gets the label associated to this phone number.
- Returns
- the label set if any, nullptr otherwise.
◆ getPhoneNumber()
| LINPHONECXX_PUBLIC std::string linphone::FriendPhoneNumber::getPhoneNumber |
( |
| ) |
const |
Gets the phone number.
- Returns
- the phone number stored.
◆ setLabel()
| LINPHONECXX_PUBLIC void linphone::FriendPhoneNumber::setLabel |
( |
const std::string & |
label | ) |
|
Sets the label for this phone number.
- Parameters
-
◆ setPhoneNumber()
| LINPHONECXX_PUBLIC void linphone::FriendPhoneNumber::setPhoneNumber |
( |
const std::string & |
number | ) |
|
Sets the phone number.
- Parameters
-
| number | the phone number to set.
|
The documentation for this class was generated from the following file: