Language

RatingStyle Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.Rating.NewStarRating, and F:Android.Media.Rating.NewUnratedRating members.

public enum RatingStyle
type RatingStyle = 
Inheritance
RatingStyle

Fields

Name Value Description
None 0

Indicates a rating style is not supported. A Rating will never have this type, but can be used by other classes to indicate they do not support Rating.

Android reference for android.media.Rating.RATING_NONE.

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.

Heart 1

A rating style with a single degree of rating, "heart" vs "no heart". Can be used to indicate the content referred to is a favorite (or not).

Android reference for android.media.Rating.RATING_HEART.

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.

ThumbUpDown 2

A rating style for "thumb up" vs "thumb down".

Android reference for android.media.Rating.RATING_THUMB_UP_DOWN.

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.

R3Stars 3

A rating style with 0 to 3 stars.

Android reference for android.media.Rating.RATING_3_STARS.

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.

R4Stars 4

A rating style with 0 to 4 stars.

Android reference for android.media.Rating.RATING_4_STARS.

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.

R5Stars 5

A rating style with 0 to 5 stars.

Android reference for android.media.Rating.RATING_5_STARS.

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.

Percentage 6

A rating style expressed as a percentage.

Android reference for android.media.Rating.RATING_PERCENTAGE.

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