as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持

IContentLauncherHandler

IContentLauncherHandler

ContentLauncherHandler接口。

支持内容启动器的应用应采用此接口,并使用IContentLauncherServer提供实例。

方法

handleLaunchContent()

handleLaunchContent(contentSearch, autoPlay, optionalFields): Promise<ILauncherResponse>

用于接收启动内容回调的处理程序。

参数

contentSearch

IContentSearch

包含待启动内容详情的内容搜索有效负载。

autoPlay

boolean

当返回true时,应播放内容,否则应显示搜索结果。

optionalFields

ILaunchContentOptionalFields

启动内容的可选字段。

返回值

Promise<ILauncherResponse>


Last updated: 2025年10月2日