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 三条款许可获得许可)。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-12-06。
[null,null,["最后更新时间 (UTC):2022-12-06。"],[[["This documentation provides API references for building sender and receiver applications for Google Cast."],["Sender applications, which manage user interaction, can be developed for Android, iOS, and web platforms."],["Receiver applications, responsible for displaying content, are Chrome applications running on Google Cast devices and can be custom-built using the provided APIs."],["Setup instructions and developer guides are available for all supported platforms and application types."],["The Web Sender, Media Player Library, and Receiver utilize the Closure and lit-html libraries, under the Apache 2.0 and BSD 3-Clause licenses respectively."]]],["The documentation covers Google Cast APIs for sender and receiver applications. Sender apps, running on user devices, have API references for Android, iOS, and web platforms. Receiver apps, running on display-connected devices, use Web Receiver and Android TV Receiver APIs, with a Media Player Library. Resources include setup instructions and development guides for each platform. Libraries like Closure and lit-html are used under Apache 2.0 and BSD 3-Clause licenses, respectively.\n"]]