IContentLauncherHandler
IContentLauncherHandler
ContentLauncherHandler接口。
支持内容启动器的应用应采用此接口,并使用IContentLauncherServer提供实例。
方法
handleLaunchContent()
handleLaunchContent(
contentSearch,autoPlay,optionalFields):Promise<ILauncherResponse>
用于接收启动内容回调的处理程序。
参数
contentSearch
包含待启动内容详情的内容搜索有效负载。
autoPlay
boolean
当返回true时,应播放内容,否则应显示搜索结果。
optionalFields
启动内容的可选字段。
返回值
Promise<ILauncherResponse>
Last updated: 2025年10月2日

