Lines Matching defs:RemoteControlClient

41  * RemoteControlClient enables exposing information meant to be consumed by remote controls
47 * RemoteControlClient can be registered through
48 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
50 * <p>Here is an example of creating a RemoteControlClient instance after registering a media
60 * RemoteControlClient myRemoteControlClient = new RemoteControlClient(mediaPendingIntent);
63 public class RemoteControlClient
65 private final static String TAG = "RemoteControlClient";
68 * Playback state of a RemoteControlClient which is stopped.
74 * Playback state of a RemoteControlClient which is paused.
80 * Playback state of a RemoteControlClient which is playing media.
86 * Playback state of a RemoteControlClient which is fast forwarding in the media
93 * Playback state of a RemoteControlClient which is fast rewinding in the media
100 * Playback state of a RemoteControlClient which is skipping to the next
107 * Playback state of a RemoteControlClient which is skipping back to the previous
114 * Playback state of a RemoteControlClient which is buffering data to play before it can
121 * Playback state of a RemoteControlClient which cannot perform any playback related
178 * RemoteControlClient. See {@link #PLAYBACK_TYPE_LOCAL} and {@link #PLAYBACK_TYPE_REMOTE}.
184 * RemoteControlClient is performed. This information is only used when the playback type is not
191 * by the playback associated with this RemoteControlClient. This information is only used
219 * Flag indicating a RemoteControlClient makes use of the "previous" media key.
226 * Flag indicating a RemoteControlClient makes use of the "rewind" media key.
233 * Flag indicating a RemoteControlClient makes use of the "play" media key.
240 * Flag indicating a RemoteControlClient makes use of the "play/pause" media key.
247 * Flag indicating a RemoteControlClient makes use of the "pause" media key.
254 * Flag indicating a RemoteControlClient makes use of the "stop" media key.
261 * Flag indicating a RemoteControlClient makes use of the "fast forward" media key.
268 * Flag indicating a RemoteControlClient makes use of the "next" media key.
285 * Flag used to signal some type of metadata exposed by the RemoteControlClient is requested.
291 * RemoteControlClient are requested.
298 * Flag used to signal that the playback state of the RemoteControlClient is requested.
303 * Flag used to signal that the album art for the RemoteControlClient is requested.
315 * before this new RemoteControlClient can itself be registered with
316 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
318 * @see AudioManager#registerRemoteControlClient(RemoteControlClient)
320 public RemoteControlClient(PendingIntent mediaButtonIntent) {
330 Log.e(TAG, "RemoteControlClient() couldn't find main application thread");
343 * before this new RemoteControlClient can itself be registered with
344 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
347 * @see AudioManager#registerRemoteControlClient(RemoteControlClient)
349 public RemoteControlClient(PendingIntent mediaButtonIntent, Looper looper) {
373 * Class used to modify metadata in a {@link RemoteControlClient} object.
374 * Use {@link RemoteControlClient#editMetadata(boolean)} to create an instance of an editor,
375 * on which you set the metadata for the RemoteControlClient instance. Once all the information
399 // only use RemoteControlClient.editMetadata() to get a MetadataEditor instance
514 * created with {@link RemoteControlClient#editMetadata(boolean)}.
527 * created with {@link RemoteControlClient#editMetadata(boolean)}, or since
528 * {@link #clear()} was called, with the RemoteControlClient. Once "applied",
529 * this MetadataEditor cannot be reused to edit the RemoteControlClient's metadata.
562 * was previously applied to the RemoteControlClient, or true if it is to be created empty.
888 * this RemoteControlClient is associated.
896 * this RemoteControlClient is associated.
920 public EventHandler(RemoteControlClient rcc, Looper looper) {
960 Log.e(TAG, "Unknown event " + msg.what + " in RemoteControlClient handler");