MediaController.RatingType Property

Definition

Get the rating type supported by the session.

public Android.Media.RatingStyle RatingType { [Android.Runtime.Register("getRatingType", "()I", "")] get; }
[<get: Android.Runtime.Register("getRatingType", "()I", "")>]
member this.RatingType : Android.Media.RatingStyle

Property Value

The supported rating type

Attributes

Remarks

Get the rating type supported by the session. One of: <ul> <li>Rating#RATING_NONE</li> <li>Rating#RATING_HEART</li> <li>Rating#RATING_THUMB_UP_DOWN</li> <li>Rating#RATING_3_STARS</li> <li>Rating#RATING_4_STARS</li> <li>Rating#RATING_5_STARS</li> <li>Rating#RATING_PERCENTAGE</li> </ul>

Java documentation for android.media.session.MediaController.getRatingType().

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