Language

RemoteControlFlags Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum RemoteControlFlags
[<System.Flags>]
type RemoteControlFlags = 
Inheritance
RemoteControlFlags
Attributes

Fields

Name Value Description
Previous 1

Flag indicating a RemoteControlClient makes use of the "previous" media key.

Rewind 2

Flag indicating a RemoteControlClient makes use of the "rewind" media key.

Play 4

Flag indicating a RemoteControlClient makes use of the "play" media key.

PlayPause 8

Flag indicating a RemoteControlClient makes use of the "play/pause" media key.

Pause 16

Flag indicating a RemoteControlClient makes use of the "pause" media key.

Stop 32

Flag indicating a RemoteControlClient makes use of the "stop" media key.

FastForward 64

Flag indicating a RemoteControlClient makes use of the "fast forward" media key.

Next 128

Flag indicating a RemoteControlClient makes use of the "next" media key.

PositionUpdate 256

Flag indicating a RemoteControlClient can receive changes in the media playback position through the OnPlaybackPositionUpdateListener interface. This flag must be set in order for components that display the RemoteControlClient information, to display and let the user control media playback position.

Android reference for android.media.RemoteControlClient.FLAG_KEY_MEDIA_POSITION_UPDATE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Rating 512

Flag indicating a RemoteControlClient supports ratings. This flag must be set in order for components that display the RemoteControlClient information, to display ratings information, and, if ratings are declared editable (by calling MediaMetadataEditor.addEditableKey(int) with the MediaMetadataEditor.RATING_KEY_BY_USER key), it will enable the user to rate the media, with values being received through the interface set with setMetadataUpdateListener(OnMetadataUpdateListener).

Android reference for android.media.RemoteControlClient.FLAG_KEY_MEDIA_RATING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to