Skip to main content

IAptoideAccountStateListener

A callback interface that serves as a listener for changes to the user's Aptoide account sign-in state. It is registered on InitializePlugin 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

NameTypeDescription
stateintThe new account state: 0 when the user is signed out (anonymous guest), 1 when signed in to their Aptoide account.