有没有办法告诉chromecast接收器应用程序初始化哪个启动图像给你?

问题描述 投票:0回答:1

我有一个CAF接收器,我想与多个发送器应用程序一起使用。根据发件人应用程序,我想显示不同的启动图像。在初始化期间我无法找到任何方式告诉我的接收器应用程序,使用哪个启动图像。

chromecast google-cast google-cast-sdk
1个回答
0
投票

我会使用两个不同的应用ID转到同一个网址,但是有一些网址选项https://yourReceiver.com/index.html?sender=,然后解析接收器中的网址选项。可以使用JS:https://developers.google.com/cast/docs/caf_receiver/customize_ui#styling-the-player在运行时更改启动画面图像

© www.soinside.com 2019 - 2024. All rights reserved.