Home | History | Annotate | Download | only in media

Lines Matching refs:RemoteControlClient

36  * RemoteControlClient enables exposing information meant to be consumed by remote controls
42 * RemoteControlClient can be registered through
43 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
45 * <p>Here is an example of creating a RemoteControlClient instance after registering a media
55 * RemoteControlClient myRemoteControlClient = new RemoteControlClient(mediaPendingIntent);
60 @Deprecated public class RemoteControlClient
62 private final static String TAG = "RemoteControlClient";
66 * Playback state of a RemoteControlClient which is stopped.
72 * Playback state of a RemoteControlClient which is paused.
78 * Playback state of a RemoteControlClient which is playing media.
84 * Playback state of a RemoteControlClient which is fast forwarding in the media
91 * Playback state of a RemoteControlClient which is fast rewinding in the media
98 * Playback state of a RemoteControlClient which is skipping to the next
105 * Playback state of a RemoteControlClient which is skipping back to the previous
112 * Playback state of a RemoteControlClient which is buffering data to play before it can
119 * Playback state of a RemoteControlClient which cannot perform any playback related
193 * RemoteControlClient. See {@link #PLAYBACK_TYPE_LOCAL} and {@link #PLAYBACK_TYPE_REMOTE}.
199 * RemoteControlClient is performed. This information is only used when the playback type is not
206 * by the playback associated with this RemoteControlClient. This information is only used
226 * Flag indicating a RemoteControlClient makes use of the "previous" media key.
233 * Flag indicating a RemoteControlClient makes use of the "rewind" media key.
240 * Flag indicating a RemoteControlClient makes use of the "play" media key.
247 * Flag indicating a RemoteControlClient makes use of the "play/pause" media key.
254 * Flag indicating a RemoteControlClient makes use of the "pause" media key.
261 * Flag indicating a RemoteControlClient makes use of the "stop" media key.
268 * Flag indicating a RemoteControlClient makes use of the "fast forward" media key.
275 * Flag indicating a RemoteControlClient makes use of the "next" media key.
282 * Flag indicating a RemoteControlClient can receive changes in the media playback position
284 * in order for components that display the RemoteControlClient information, to display and
292 * Flag indicating a RemoteControlClient supports ratings.
293 * This flag must be set in order for components that display the RemoteControlClient
313 * Flag used to signal some type of metadata exposed by the RemoteControlClient is requested.
319 * RemoteControlClient are requested.
326 * Flag used to signal that the playback state of the RemoteControlClient is requested.
331 * Flag used to signal that the album art for the RemoteControlClient is requested.
345 * before this new RemoteControlClient can itself be registered with
346 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
348 * @see AudioManager#registerRemoteControlClient(RemoteControlClient)
350 public RemoteControlClient(PendingIntent mediaButtonIntent) {
360 Log.e(TAG, "RemoteControlClient() couldn't find main application thread");
373 * before this new RemoteControlClient can itself be registered with
374 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
377 * @see AudioManager#registerRemoteControlClient(RemoteControlClient)
379 public RemoteControlClient(PendingIntent mediaButtonIntent, Looper looper) {
416 * Class used to modify metadata in a {@link RemoteControlClient} object.
417 * Use {@link RemoteControlClient#editMetadata(boolean)} to create an instance of an editor,
418 * on which you set the metadata for the RemoteControlClient instance. Once all the information
427 // only use RemoteControlClient.editMetadata() to get a MetadataEditor instance
554 * (with {@link RemoteControlClient#editMetadata(boolean)}).
565 * created with {@link RemoteControlClient#editMetadata(boolean)}, or since
566 * {@link #clear()} was called, with the RemoteControlClient. Once "applied",
567 * this MetadataEditor cannot be reused to edit the RemoteControlClient's metadata.
600 * was previously applied to the RemoteControlClient, or true if it is to be created empty.
660 * {@link RemoteControlClient.MetadataEditor}). Negative values imply that position is not
777 * through {@link RemoteControlClient#setMetadataUpdateListener(OnMetadataUpdateListener)}.
792 * RemoteControlClient was created.
805 * @see RemoteControlClient#FLAG_KEY_MEDIA_POSITION_UPDATE
825 * @see RemoteControlClient#FLAG_KEY_MEDIA_POSITION_UPDATE
840 * Notifications will be received in the same thread as the one in which RemoteControlClient
852 * Queries will be received in the same thread as the one in which RemoteControlClient
872 * Flag to reflect that the application controlling this RemoteControlClient sends playback
879 * Flag to reflect that the application controlling this RemoteControlClient can receive
933 * Listener registered by user of RemoteControlClient to receive requests for playback position
938 * Provider registered by user of RemoteControlClient to provide the current playback position.
942 * Listener registered by user of RemoteControlClient to receive edit changes to metadata
993 RemoteControlClient.this.onSeekTo(mCurrentClientGenId, pos);
1008 public EventHandler(RemoteControlClient rcc, Looper looper) {
1019 Log.e(TAG, "Unknown event " + msg.what + " in RemoteControlClient handler");