Lines Matching defs:RemoteControlClient
38 * RemoteControlClient enables exposing information meant to be consumed by remote controls
44 * RemoteControlClient can be registered through
45 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
47 * <p>Here is an example of creating a RemoteControlClient instance after registering a media
57 * RemoteControlClient myRemoteControlClient = new RemoteControlClient(mediaPendingIntent);
60 public class RemoteControlClient
62 private final static String TAG = "RemoteControlClient";
65 * Playback state of a RemoteControlClient which is stopped.
71 * Playback state of a RemoteControlClient which is paused.
77 * Playback state of a RemoteControlClient which is playing media.
83 * Playback state of a RemoteControlClient which is fast forwarding in the media
90 * Playback state of a RemoteControlClient which is fast rewinding in the media
97 * Playback state of a RemoteControlClient which is skipping to the next
104 * Playback state of a RemoteControlClient which is skipping back to the previous
111 * Playback state of a RemoteControlClient which is buffering data to play before it can
118 * Playback state of a RemoteControlClient which cannot perform any playback related
134 * Flag indicating a RemoteControlClient makes use of the "previous" media key.
141 * Flag indicating a RemoteControlClient makes use of the "rewind" media key.
148 * Flag indicating a RemoteControlClient makes use of the "play" media key.
155 * Flag indicating a RemoteControlClient makes use of the "play/pause" media key.
162 * Flag indicating a RemoteControlClient makes use of the "pause" media key.
169 * Flag indicating a RemoteControlClient makes use of the "stop" media key.
176 * Flag indicating a RemoteControlClient makes use of the "fast forward" media key.
183 * Flag indicating a RemoteControlClient makes use of the "next" media key.
200 * Flag used to signal some type of metadata exposed by the RemoteControlClient is requested.
206 * RemoteControlClient are requested.
213 * Flag used to signal that the playback state of the RemoteControlClient is requested.
218 * Flag used to signal that the album art for the RemoteControlClient is requested.
230 * before this new RemoteControlClient can itself be registered with
231 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
233 * @see AudioManager#registerRemoteControlClient(RemoteControlClient)
235 public RemoteControlClient(PendingIntent mediaButtonIntent) {
245 Log.e(TAG, "RemoteControlClient() couldn't find main application thread");
258 * before this new RemoteControlClient can itself be registered with
259 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
262 * @see AudioManager#registerRemoteControlClient(RemoteControlClient)
264 public RemoteControlClient(PendingIntent mediaButtonIntent, Looper looper) {
288 * Class used to modify metadata in a {@link RemoteControlClient} object.
289 * Use {@link RemoteControlClient#editMetadata(boolean)} to create an instance of an editor,
290 * on which you set the metadata for the RemoteControlClient instance. Once all the information
314 // only use RemoteControlClient.editMetadata() to get a MetadataEditor instance
429 * created with {@link RemoteControlClient#editMetadata(boolean)}.
442 * created with {@link RemoteControlClient#editMetadata(boolean)}, or since
443 * {@link #clear()} was called, with the RemoteControlClient. Once "applied",
444 * this MetadataEditor cannot be reused to edit the RemoteControlClient's metadata.
477 * was previously applied to the RemoteControlClient, or true if it is to be created empty.
688 public EventHandler(RemoteControlClient rcc, Looper looper) {
728 Log.e(TAG, "Unknown event " + msg.what + " in RemoteControlClient handler");