RemoteControlClient.FlagKeyMediaRating Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.RemoteControlFlags enum directly instead of this field.

Flag indicating a RemoteControlClient supports ratings.

[Android.Runtime.Register("FLAG_KEY_MEDIA_RATING")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.RemoteControlFlags enum directly instead of this field.", true)]
public const Android.Media.RemoteControlFlags FlagKeyMediaRating = 512;
[<Android.Runtime.Register("FLAG_KEY_MEDIA_RATING")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.RemoteControlFlags enum directly instead of this field.", true)>]
val mutable FlagKeyMediaRating : Android.Media.RemoteControlFlags

Field Value

Value = 512
Attributes

Remarks

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).

Java documentation 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.

Applies to

See also