See Also: Rating
public sealed class Rating : Object, IParcelable, IDisposable
A class to encapsulate rating information used as content metadata. A rating is defined by its rating style (see Rating.RatingHeart, Rating.RatingThumbUpDown, Rating.Rating3Stars, Rating.Rating4Stars, Rating.Rating5Stars or Rating.RatingPercentage) and the actual rating value (which may be defined as "unrated"), both of which are defined when the rating instance is constructed through one of the factory methods.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
The members of Android.Media.Rating are listed below.
See Also: Object
|Rating3Stars||RatingStyle (3). A rating style with 0 to 3 stars.|
|Rating4Stars||RatingStyle (4). A rating style with 0 to 4 stars.|
|Rating5Stars||RatingStyle (5). A rating style with 0 to 5 stars.|
|RatingHeart||RatingStyle (1). A rating style with a single degree of rating, "heart" vs "no heart".|
|RatingNone||RatingStyle (0). Indicates a rating style is not supported.|
|RatingPercentage||RatingStyle (6). A rating style expressed as a percentage.|
|RatingThumbUpDown||RatingStyle (2). A rating style for "thumb up" vs "thumb down".|
|[read-only]||HasHeart||Boolean. Return whether the rating is "heart selected".|
|[read-only]||IsRated||Boolean. Return whether there is a rating value available.|
|[read-only]||IsThumbUp||Boolean. Return whether the rating is "thumb up".|
|[read-only]||PercentRating||Single. Return the percentage-based rating value.|
|[read-only]||RatingStyle||RatingStyle. Return the rating style.|
|[read-only]||StarRating||Single. Return the star-based rating value.|
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Return a Rating instance with a heart-based rating.
Return a Rating instance with a percentage-based rating.
Return a Rating instance with a star-based rating.
Return a Rating instance with a thumb-based rating.
Return a Rating instance with no rating.
Flatten this object in to a Parcel.