Liblinphone
5.4.0
|
Request object created by AccountManagerServices. More...
#include <account_manager_services_request.hh>
Public Types | |
enum | Type { Type::SendAccountCreationTokenByPush = 0, Type::AccountCreationRequestToken = 1, Type::AccountCreationTokenFromAccountCreationRequestToken = 2, Type::CreateAccountUsingToken = 3, Type::SendPhoneNumberLinkingCodeBySms = 4, Type::LinkPhoneNumberUsingCode = 5, Type::SendEmailLinkingCodeByEmail = 6, Type::LinkEmailUsingCode = 7, Type::GetDevicesList = 8, Type::DeleteDevice = 9, GetCreationTokenAsAdmin = 100, GetAccountInfoAsAdmin = 101, DeleteAccountAsAdmin = 102 } |
List of all supported AccountManagerServicesRequest requests, allowing to know which one triggered either a callback from the AccountManagerServicesRequestListener. More... | |
Public Member Functions | |
LINPHONECXX_PUBLIC | AccountManagerServicesRequest (void *ptr, bool takeRef=true) |
LINPHONECXX_PUBLIC _LinphoneAccountManagerServicesRequest * | cPtr () |
LINPHONECXX_PUBLIC void | addListener (const std::shared_ptr< AccountManagerServicesRequestListener > &listener) |
Add an application listener to the AccountManagerServicesRequest instance. More... | |
LINPHONECXX_PUBLIC void | removeListener (const std::shared_ptr< AccountManagerServicesRequestListener > &listener) |
Remove a previously added listener from the AccountManagerServicesRequest instance. More... | |
LINPHONECXX_PUBLIC Type | getType () const |
Gets the Type representing this request. More... | |
LINPHONECXX_PUBLIC void | submit () |
Executes the request represented by AccountManagerServicesRequest. | |
Request object created by AccountManagerServices.
|
strong |
List of all supported AccountManagerServicesRequest requests, allowing to know which one triggered either a callback from the AccountManagerServicesRequestListener.
LINPHONECXX_PUBLIC void linphone::AccountManagerServicesRequest::addListener | ( | const std::shared_ptr< AccountManagerServicesRequestListener > & | listener | ) |
Add an application listener to the AccountManagerServicesRequest instance.
listener | the application listener |
LINPHONECXX_PUBLIC Type linphone::AccountManagerServicesRequest::getType | ( | ) | const |
LINPHONECXX_PUBLIC void linphone::AccountManagerServicesRequest::removeListener | ( | const std::shared_ptr< AccountManagerServicesRequestListener > & | listener | ) |
Remove a previously added listener from the AccountManagerServicesRequest instance.
listener | the application listener |