Liblinphone
5.4.0
|
Object representing a Message Waiting Indication. More...
#include <message_waiting_indication.hh>
Public Types | |
enum | ContextClass { Voice = 0, Fax = 1, Pager = 2, Multimedia = 3, Text = 4, None = 5 } |
Enum describing the different contexts for the MessageWaitingIndicationSummary. | |
Public Member Functions | |
LINPHONECXX_PUBLIC | MessageWaitingIndication (void *ptr, bool takeRef=true) |
LINPHONECXX_PUBLIC _LinphoneMessageWaitingIndication * | cPtr () |
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::Address > | getAccountAddress () const |
Get the address of the message account concerned by this message waiting indication. More... | |
LINPHONECXX_PUBLIC void | setAccountAddress (const std::shared_ptr< linphone::Address > &address) |
Set the address of the message account concerned by this message waiting indication. More... | |
LINPHONECXX_PUBLIC std::list< std::shared_ptr< linphone::MessageWaitingIndicationSummary > > | getSummaries () const |
Get the message waiting indication summaries. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::MessageWaitingIndication > | clone () const |
Instantiate a new message waiting indication with values from source. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::MessageWaitingIndicationSummary > | getSummary (ContextClass contextClass) const |
Get the message waiting indication summary for a given context class. More... | |
LINPHONECXX_PUBLIC bool | hasMessageWaiting () const |
Tells whether there are messages waiting or not. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::Content > | toContent () const |
Get a Content object to put in a NOTIFY message from a MessageWaitingIndication object. More... | |
Object representing a Message Waiting Indication.
LINPHONECXX_PUBLIC std::shared_ptr<linphone::MessageWaitingIndication> linphone::MessageWaitingIndication::clone | ( | ) | const |
Instantiate a new message waiting indication with values from source.
LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::MessageWaitingIndication::getAccountAddress | ( | ) | const |
Get the address of the message account concerned by this message waiting indication.
LINPHONECXX_PUBLIC std::list<std::shared_ptr<linphone::MessageWaitingIndicationSummary> > linphone::MessageWaitingIndication::getSummaries | ( | ) | const |
Get the message waiting indication summaries.
LINPHONECXX_PUBLIC std::shared_ptr<const linphone::MessageWaitingIndicationSummary> linphone::MessageWaitingIndication::getSummary | ( | ContextClass | contextClass | ) | const |
Get the message waiting indication summary for a given context class.
contextClass | the ContextClass for which we want to get the summary. |
LINPHONECXX_PUBLIC bool linphone::MessageWaitingIndication::hasMessageWaiting | ( | ) | const |
Tells whether there are messages waiting or not.
LINPHONECXX_PUBLIC void linphone::MessageWaitingIndication::setAccountAddress | ( | const std::shared_ptr< linphone::Address > & | address | ) |
Set the address of the message account concerned by this message waiting indication.
address | The address of the message account concerned by this message waiting indication. |
LINPHONECXX_PUBLIC std::shared_ptr<linphone::Content> linphone::MessageWaitingIndication::toContent | ( | ) | const |
Get a Content object to put in a NOTIFY message from a MessageWaitingIndication object.