Google Cast API 参考文档
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本参考提供了以下有关发送和接收应用的 API 文档。
发送者应用 API
发送者应用在用户手持的设备上运行,并管理用户与内容的互动。
对于发送者应用,Google Cast 通过以下文档为 Android、iOS 和支持 Cast 的网络平台支持应用开发:
接收器应用 API
接收者应用是一种 Chrome 应用,它在连接到显示屏的 Google Cast 接收器设备上运行,并管理内容的显示。使用该 API 创建自定义接收器应用。媒体播放器库为应用提供媒体播放器。这些 API 记录在此处:
资源
如需了解上述 API 的设置说明,请参阅安装 API 库。
如需详细了解如何使用这些 API 进行开发,请参阅以下指南:
许可
Web 发送器、媒体播放器库和接收器使用 Closure 库(已根据 Apache 2.0 许可授权)和 lit-html 库(已根据 BSD 三条款许可获得许可)。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-12-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]