as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
Interface for ContentLauncherServer that provides the ability to set a handler for Content Launcher use cases.

Methods

setHandler()

setHandler(handler: IContentLauncherHandler): void
Sets the handler to receive callbacks for Content Launcher.

Parameters

handler
IContentLauncherHandler Content Launcher Handler to set.

setHandlerForComponent()

setHandlerForComponent(handler: IContentLauncherHandler, instance: IComponentInstance): void
Sets the handler to receive callbacks for Content Launcher for a given component.

Parameters

handler
IContentLauncherHandler Content Launcher Handler to set.
instance
IComponentInstance IComponentInstance for which the handler is to be set.
最后修改于 2026年8月25日