Liblinphone  5.4.0
Public Member Functions | List of all members
linphone::FriendDevice Class Reference

Object that represents a Friend's device (name, trust level) for a given SIP address. More...

#include <friend_device.hh>

Inheritance diagram for linphone::FriendDevice:

Public Member Functions

LINPHONECXX_PUBLIC FriendDevice (void *ptr, bool takeRef=true)
 
LINPHONECXX_PUBLIC _LinphoneFriendDevice * cPtr ()
 
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::AddressgetAddress () const
 Gets the address associated to this device. More...
 
LINPHONECXX_PUBLIC std::string getDisplayName () const
 Gets the display name of this device. More...
 
LINPHONECXX_PUBLIC linphone::SecurityLevel getSecurityLevel () const
 Gets the current security level of this device. More...
 
LINPHONECXX_PUBLIC std::shared_ptr< linphone::FriendDeviceclone () const
 Clones a device. More...
 

Detailed Description

Object that represents a Friend's device (name, trust level) for a given SIP address.

Member Function Documentation

◆ clone()

LINPHONECXX_PUBLIC std::shared_ptr<linphone::FriendDevice> linphone::FriendDevice::clone ( ) const

Clones a device.

Returns
The newly created FriendDevice object.

◆ getAddress()

LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::FriendDevice::getAddress ( ) const

Gets the address associated to this device.

Returns
the address (including gruu) to which this device is linked.

◆ getDisplayName()

LINPHONECXX_PUBLIC std::string linphone::FriendDevice::getDisplayName ( ) const

Gets the display name of this device.

Returns
the name of the device.

◆ getSecurityLevel()

LINPHONECXX_PUBLIC linphone::SecurityLevel linphone::FriendDevice::getSecurityLevel ( ) const

Gets the current security level of this device.

Returns
the current SecurityLevel of the device.

The documentation for this class was generated from the following file: