|
Liblinphone 5.5.0
|
#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 , SendAccountRecoveryTokenByPush = 10 , GetCreationTokenAsAdmin = 100 , GetAccountInfoAsAdmin = 101 , DeleteAccountAsAdmin = 102 } |
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) |
| LINPHONECXX_PUBLIC void | removeListener (const std::shared_ptr< AccountManagerServicesRequestListener > &listener) |
| LINPHONECXX_PUBLIC Type | getType () const |
| LINPHONECXX_PUBLIC void | submit () |
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 |