Java android.media RemoteControlClient fields, constructors, methods, implement or subclass

Example usage for Java android.media RemoteControlClient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.media RemoteControlClient.

The text is from its open source code.

Field

intPLAYSTATE_STOPPED
Playback state of a RemoteControlClient which is stopped.
intPLAYSTATE_PAUSED
Playback state of a RemoteControlClient which is paused.
intPLAYSTATE_PLAYING
Playback state of a RemoteControlClient which is playing media.
intPLAYSTATE_FAST_FORWARDING
Playback state of a RemoteControlClient which is fast forwarding in the media it is currently playing.
intPLAYSTATE_REWINDING
Playback state of a RemoteControlClient which is fast rewinding in the media it is currently playing.
intPLAYSTATE_SKIPPING_FORWARDS
Playback state of a RemoteControlClient which is skipping to the next logical chapter (such as a song in a playlist) in the media it is currently playing.
intPLAYSTATE_SKIPPING_BACKWARDS
Playback state of a RemoteControlClient which is skipping back to the previous logical chapter (such as a song in a playlist) in the media it is currently playing.
intPLAYSTATE_BUFFERING
Playback state of a RemoteControlClient which is buffering data to play before it can start or resume playback.
intPLAYSTATE_ERROR
Playback state of a RemoteControlClient which cannot perform any playback related operation because of an internal error.
intFLAG_KEY_MEDIA_PREVIOUS
Flag indicating a RemoteControlClient makes use of the "previous" media key.
intFLAG_KEY_MEDIA_REWIND
Flag indicating a RemoteControlClient makes use of the "rewind" media key.
intFLAG_KEY_MEDIA_PLAY
Flag indicating a RemoteControlClient makes use of the "play" media key.
intFLAG_KEY_MEDIA_PLAY_PAUSE
Flag indicating a RemoteControlClient makes use of the "play/pause" media key.
intFLAG_KEY_MEDIA_PAUSE
Flag indicating a RemoteControlClient makes use of the "pause" media key.
intFLAG_KEY_MEDIA_STOP
Flag indicating a RemoteControlClient makes use of the "stop" media key.
intFLAG_KEY_MEDIA_FAST_FORWARD
Flag indicating a RemoteControlClient makes use of the "fast forward" media key.
intFLAG_KEY_MEDIA_NEXT
Flag indicating a RemoteControlClient makes use of the "next" media key.
intFLAG_KEY_MEDIA_POSITION_UPDATE
Flag indicating a RemoteControlClient can receive changes in the media playback position through the OnPlaybackPositionUpdateListener interface.
intFLAG_KEY_MEDIA_RATING
Flag indicating a RemoteControlClient supports ratings.

Constructor

Method

MetadataEditoreditMetadata(boolean startEmpty)
Creates a MetadataEditor .
voidsetPlaybackState(int state)
Sets the current playback state.
voidsetTransportControlFlags(int transportControlFlags)
Sets the flags for the media transport control buttons that this client supports.