使用Chromecast设置音量时,Android应用程序在后台 [英] Set volume with Chromecast when Android app is in the background
本文介绍了使用Chromecast设置音量时,Android应用程序在后台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在开发Android应用程序的流内容到Chromecast设备。
我没有找到有关办法的说明文件,更改远程媒体播放器的音量,当应用程序在后台。
I'm developing an app for Android that streams content to a Chromecast device. I did not find the documentation about the way to change the volume of the remote media player when the app is in the background.
推荐答案
看方法 SETU premoteControl()
在 VideoCastManager
类,覆铜板;它主要是做在那里。
Look at the method setUpRemoteControl()
in VideoCastManager
class, in CCL; it is mostly done there.
这篇关于使用Chromecast设置音量时,Android应用程序在后台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文