as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
ContentLauncherHandler的接口。 支持内容启动器的应用应采用此接口,并使用提供实例。

方法

handleLaunchContent()

handleLaunchContent(contentSearch: IContentSearch, autoPlay: boolean, optionalFields: ILaunchContentOptionalFields): Promise<ILauncherResponse> 用于接收启动内容回调的处理程序。

参数

contentSearch
IContentSearch 包含待启动内容详情的内容搜索有效负载。
autoPlay
boolean 当返回true时,应播放内容,否则应显示搜索结果。
optionalFields
ILaunchContentOptionalFields 启动内容的可选字段。

返回值

Promise<ILauncherResponse>
最后修改于 2026年10月26日