Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IAccountLoginHandlerAsync

interface IAccountLoginHandlerAsync
Extends com.amazon.apmf.IStandard Interface for handling asynchronous account login requests.

Methods

handleReadStatus()

void handleReadStatus(ILoginStatusListener* responseListener)
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.

Parameters

responseListener
ILoginStatusListener* — Required A callback object that is invoked with the account login status read response.

handleGetSetupPin()

void handleGetSetupPin(com.amazon.kepler.media.account_login.common.TempAccountIdentifier* accountIdentifier, IGetSetupPinListener* responseListener)
The handler which receives a get setup pin request.

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()

void handleLogin(com.amazon.kepler.media.account_login.common.TempAccountIdentifier* accountIdentifier, com.amazon.kepler.media.account_login.common.SetupPin* pin, ILoginResponseListener* responseListener)
The handler which receives a login request.

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()

void handleLogout(ILogoutResponseListener* responseListener)
The handler which receives a logout request.

Parameters

responseListener
ILogoutResponseListener* — Required A callback object invoked with the logout response.
Last modified on October 29, 2026