Interface IAccountLoginHandlerAsync
interface IAccountLoginHandlerAsync
Extends com.amazon.apmf.IStandard
Interface for handling asynchronous account login requests.
Methods
handleReadStatus()
The handler which receives the account login status read request. This method is called when the system needs to retrieve the current account login status.voidhandleReadStatus(ILoginStatusListener*responseListener)
Parameters
responseListener
ILoginStatusListener* — Required
A callback object that is invoked with
the account login status read response.
handleGetSetupPin()
The handler which receives a get setup pin request.voidhandleGetSetupPin(com.amazon.kepler.media.account_login.common.TempAccountIdentifier*accountIdentifier,IGetSetupPinListener*responseListener)
Parameters
accountIdentifier
com.amazon.kepler.media.account_login.common.TempAccountIdentifier* — Required
The identifier of a user account for
which a setup pin is being requested.
responseListener
IGetSetupPinListener* — Required
A callback object invoked with the setup
pin response.
handleLogin()
The handler which receives a login request.voidhandleLogin(com.amazon.kepler.media.account_login.common.TempAccountIdentifier*accountIdentifier,com.amazon.kepler.media.account_login.common.SetupPin*pin,ILoginResponseListener*responseListener)
Parameters
accountIdentifier
com.amazon.kepler.media.account_login.common.TempAccountIdentifier* — Required
An identifier for the account to login.
pin
com.amazon.kepler.media.account_login.common.SetupPin* — Required
The setup pin previously retrieved for the associated
account.
responseListener
ILoginResponseListener* — Required
A callback object invoked with the login
response.
handleLogout()
The handler which receives a logout request.voidhandleLogout(ILogoutResponseListener*responseListener)
Parameters
responseListener
ILogoutResponseListener* — Required
A callback object invoked with the logout
response.

