Liblinphone
5.3.0
|
Object to get signal (wifi/4G etc...) informations. More...
#include <signal_information.hh>
Public Member Functions | |
LINPHONECXX_PUBLIC | SignalInformation (void *ptr, bool takeRef=true) |
LINPHONECXX_PUBLIC _LinphoneSignalInformation * | cPtr () |
LINPHONECXX_PUBLIC linphone::SignalType | getSignalType () |
Get the SignalType of the SignalInformation. More... | |
LINPHONECXX_PUBLIC void | setSignalType (linphone::SignalType type) |
Set a new SignalType to a SignalInformation. More... | |
LINPHONECXX_PUBLIC linphone::SignalStrengthUnit | getSignalUnit () |
Get the SignalStrengthUnit value of the SignalInformation. More... | |
LINPHONECXX_PUBLIC void | setSignalUnit (linphone::SignalStrengthUnit unit) |
Set a new SignalStrengthUnit to a SignalInformation. More... | |
LINPHONECXX_PUBLIC float | getStrength () |
Get the value of the SignalInformation. More... | |
LINPHONECXX_PUBLIC void | setValue (float value) |
Set a new value to a SignalInformation. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::SignalInformation > | clone () const |
Clone the given signalInformation. More... | |
Object to get signal (wifi/4G etc...) informations.
LINPHONECXX_PUBLIC std::shared_ptr<linphone::SignalInformation> linphone::SignalInformation::clone | ( | ) | const |
Clone the given signalInformation.
LINPHONECXX_PUBLIC linphone::SignalType linphone::SignalInformation::getSignalType | ( | ) |
Get the SignalType of the SignalInformation.
LINPHONECXX_PUBLIC linphone::SignalStrengthUnit linphone::SignalInformation::getSignalUnit | ( | ) |
Get the SignalStrengthUnit value of the SignalInformation.
LINPHONECXX_PUBLIC float linphone::SignalInformation::getStrength | ( | ) |
Get the value of the SignalInformation.
LINPHONECXX_PUBLIC void linphone::SignalInformation::setSignalType | ( | linphone::SignalType | type | ) |
Set a new SignalType to a SignalInformation.
type | The new SignalType to set. |
LINPHONECXX_PUBLIC void linphone::SignalInformation::setSignalUnit | ( | linphone::SignalStrengthUnit | unit | ) |
Set a new SignalStrengthUnit to a SignalInformation.
unit | The new SignalStrengthUnit to set. |
LINPHONECXX_PUBLIC void linphone::SignalInformation::setValue | ( | float | value | ) |
Set a new value to a SignalInformation.
value | a float containing the new value to set. |