Liblinphone 5.4.23
linphone::AccountListener Class Reference

An object to handle the callbacks for the handling of Account objects. More...

#include <account_listener.hh>

Inheritance diagram for linphone::AccountListener:

Public Member Functions

virtual LINPHONECXX_PUBLIC void onRegistrationStateChanged (const std::shared_ptr< linphone::Account > &account, linphone::RegistrationState state, const std::string &message)
 Callback for notifying when a registration state has changed for the account.
virtual LINPHONECXX_PUBLIC void onMessageWaitingIndicationChanged (const std::shared_ptr< linphone::Account > &account, const std::shared_ptr< const linphone::MessageWaitingIndication > &mwi)
 Callback for notifying a message waiting indication change for the account.
virtual LINPHONECXX_PUBLIC void onConferenceInformationUpdated (const std::shared_ptr< linphone::Account > &account, const std::list< std::shared_ptr< linphone::ConferenceInfo > > &infos)
 Callback for notifying that the conference information list of an account has been updated.

Detailed Description

An object to handle the callbacks for the handling of Account objects.

Member Function Documentation

◆ onConferenceInformationUpdated()

virtual LINPHONECXX_PUBLIC void linphone::AccountListener::onConferenceInformationUpdated ( const std::shared_ptr< linphone::Account > & account,
const std::list< std::shared_ptr< linphone::ConferenceInfo > > & infos )
inlinevirtual

Callback for notifying that the conference information list of an account has been updated.

This is generally the case when retrieving conference informations from a CCMP server as the request might take a little bit of time to be responded. In order to allow the core to perform its tasks while the conference information are being sent, the core will send first the list of conference information that are locally stored and then this callback is called once it is updated with the information received by the CCMP server.

Parameters
accountAccount object whose message waiting indication changed.
infosThe updated list of conference informations

◆ onMessageWaitingIndicationChanged()

virtual LINPHONECXX_PUBLIC void linphone::AccountListener::onMessageWaitingIndicationChanged ( const std::shared_ptr< linphone::Account > & account,
const std::shared_ptr< const linphone::MessageWaitingIndication > & mwi )
inlinevirtual

Callback for notifying a message waiting indication change for the account.

Parameters
accountLinphoneAccount object whose message waiting indication changed.
mwiThe current LinphoneMessageWaitingIndication.

◆ onRegistrationStateChanged()

virtual LINPHONECXX_PUBLIC void linphone::AccountListener::onRegistrationStateChanged ( const std::shared_ptr< linphone::Account > & account,
linphone::RegistrationState state,
const std::string & message )
inlinevirtual

Callback for notifying when a registration state has changed for the account.

Parameters
accountLinphoneAccount object whose registration state changed.
stateThe current LinphoneRegistrationState.
messageA non nullptr informational message about the state.

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