as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
Interface for the asynchronous AccountLoginServer.

Methods

updateStatus()

updateStatus(status: IStatus): void
Updates the user login status.

Parameters

status
IStatus The new login status.

setHandler()

setHandler(handler: IAccountLoginHandlerAsync): void
Sets the handler to receive callbacks for Account Login. Collects the Component Instance automatically so it does not need to provided.

Parameters

handler
IAccountLoginHandlerAsync The Account Login Handler to set.

setHandlerForComponent()

setHandlerForComponent(handler: IAccountLoginHandlerAsync, instance: IComponentInstance): void
Sets the handler to receive callbacks for Account Login for a specific component.

Parameters

handler
IAccountLoginHandlerAsync The Account Login Handler to set.
instance
IComponentInstance The component instance for which the handler is to be set.
最后修改于 2026年8月25日