本文介绍了什么是RemoteControlClient在Android 4.0的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道StackOverflow上的规则,因此道歉,请事先问这样一个的主观的问题。

I know the rules of StackOverflow and hence apologize beforehand for asking such a subjective question.

我试过documentation但所有它说的是这样的:

I tried the documentation but all it says is this :

RemoteControlClient使得消费意味着公开信息  通过能够显示的元数据,艺术品和媒体遥控器  控制键。

一个远程控制客户端对象与媒体按钮事件相关联  接收器。此事件接收器一定是pviously注册$ P $  与registerMediaButtonEventReceiver(组件名)前  RemoteControlClient可以通过注册  registerRemoteControlClient(RemoteControlClient)。

A remote control client object is associated with a media button event receiver. This event receiver must have been previously registered with registerMediaButtonEventReceiver(ComponentName) before the RemoteControlClient can be registered through registerRemoteControlClient(RemoteControlClient).

我不知道别人,但对我来说,这么多的文件是不够的一些东西,有这样一个很酷的名字为RemoteControlClient

I don't know about others but for me, this much of documentation was not enough for something which has such a cool name as "RemoteControlClient".

我搜索了很多论坛,这一点,但遗憾的是,这个概念仍然不清晰。

I searched a lot of forums for this but unfortunately, the concept is still not clear to me.

确实是感激,如果有人帮助我理解它,它是如何工作,最重要的,什么都它是可以胜任的。

Would indeed be grateful if someone helped me understand it, how it works and most importantly, what all it is capable of.

在此先感谢和道歉问一个主观的问题。

Thanks in advance and apologies for asking a subjective question.

推荐答案

http://developer.android.com/about/versions/android-4.0.html

新RemoteControlClient允许媒体播放器,能够从远程控制客户端的播放控制,如设备锁定屏幕。媒体播放器还可以公开有关当前播放的媒体显示器上的遥控器,如曲目信息和专辑封面信息。

和关于这个问题的几个段落。

and a few more paragraphs on the subject.

报告还指出:

有关示例实现,请参见随机音乐播放器,它提供了兼容逻辑性,比如它能够在Android 4.0设备上的远程控制客户端,同时继续支持装置回到Android 2.1。

这篇关于什么是RemoteControlClient在Android 4.0的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 08:49