Liblinphone 5.4.23
|
Request object created by AccountManagerServices. More...
#include <account_manager_services_request.hh>
Public Types | |
enum class | Type { SendAccountCreationTokenByPush = 0 , AccountCreationRequestToken = 1 , AccountCreationTokenFromAccountCreationRequestToken = 2 , CreateAccountUsingToken = 3 , SendPhoneNumberLinkingCodeBySms = 4 , LinkPhoneNumberUsingCode = 5 , SendEmailLinkingCodeByEmail = 6 , LinkEmailUsingCode = 7 , GetDevicesList = 8 , 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. | |
LINPHONECXX_PUBLIC void | removeListener (const std::shared_ptr< AccountManagerServicesRequestListener > &listener) |
Remove a previously added listener from the AccountManagerServicesRequest instance. | |
LINPHONECXX_PUBLIC Type | getType () const |
Gets the Type representing this request. | |
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 |