Liblinphone 5.4.23
linphone::AccountManagerServicesRequestListener Class Reference

An object to handle the callbacks for AccountManagerServicesRequest object. More...

#include <account_manager_services_request_listener.hh>

Inheritance diagram for linphone::AccountManagerServicesRequestListener:

Public Member Functions

virtual LINPHONECXX_PUBLIC void onRequestSuccessful (const std::shared_ptr< const linphone::AccountManagerServicesRequest > &request, const std::string &data)
 Callback for notifying a request was successful.
virtual LINPHONECXX_PUBLIC void onRequestError (const std::shared_ptr< const linphone::AccountManagerServicesRequest > &request, int statusCode, const std::string &errorMessage, const std::shared_ptr< const linphone::Dictionary > &parameterErrors)
 Callback for notifying a request has failed.
virtual LINPHONECXX_PUBLIC void onDevicesListFetched (const std::shared_ptr< const linphone::AccountManagerServicesRequest > &request, const std::list< std::shared_ptr< linphone::AccountDevice > > &devicesList)
 Callback for notifying when the #LinphoneAccountManagerServicesRequestGetDevicesList request has results available.

Detailed Description

An object to handle the callbacks for AccountManagerServicesRequest object.

Member Function Documentation

◆ onDevicesListFetched()

virtual LINPHONECXX_PUBLIC void linphone::AccountManagerServicesRequestListener::onDevicesListFetched ( const std::shared_ptr< const linphone::AccountManagerServicesRequest > & request,
const std::list< std::shared_ptr< linphone::AccountDevice > > & devicesList )
inlinevirtual

Callback for notifying when the #LinphoneAccountManagerServicesRequestGetDevicesList request has results available.

Parameters
requestAccountManagerServicesRequest object.
devicesListthe of fetched devices.

◆ onRequestError()

virtual LINPHONECXX_PUBLIC void linphone::AccountManagerServicesRequestListener::onRequestError ( const std::shared_ptr< const linphone::AccountManagerServicesRequest > & request,
int statusCode,
const std::string & errorMessage,
const std::shared_ptr< const linphone::Dictionary > & parameterErrors )
inlinevirtual

Callback for notifying a request has failed.

Parameters
requestAccountManagerServicesRequest object.
statusCodeThe error status code.
errorMessageAn error message, if any.
parameterErrorsA Dictionary with parameter specific errors, if any.

◆ onRequestSuccessful()

virtual LINPHONECXX_PUBLIC void linphone::AccountManagerServicesRequestListener::onRequestSuccessful ( const std::shared_ptr< const linphone::AccountManagerServicesRequest > & request,
const std::string & data )
inlinevirtual

Callback for notifying a request was successful.

Parameters
requestAccountManagerServicesRequest object.
dataany relevant data depending on the request (for example SIP identity for account creation).

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