AptoideAccountStateListener
A callback class that serves as a listener for changes to the user's Aptoide account sign-in state. It is registered on the AptoideBillingClient builder and is fired on every sign-in / sign-out transition, including those performed inside the payment WebView. It is only invoked on an actual state transition.
Public Methods
onAccountStateChanged
void onAccountStateChanged(int state)
Invoked to notify that the account sign-in state has changed.
Parameters
| Name | Type | Description |
|---|---|---|
| state | int | The new account state, one of AccountState: SIGNED_IN or SIGNED_OUT. |