Android.Media.Rating Members

The members of Android.Media.Rating are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
Rating3StarsRatingStyle (3). A rating style with 0 to 3 stars.
const
Rating4StarsRatingStyle (4). A rating style with 0 to 4 stars.
const
Rating5StarsRatingStyle (5). A rating style with 0 to 5 stars.
const
RatingHeartRatingStyle (1). A rating style with a single degree of rating, "heart" vs "no heart".
const
RatingNoneRatingStyle (0). Indicates a rating style is not supported.
const
RatingPercentageRatingStyle (6). A rating style expressed as a percentage.
const
RatingThumbUpDownRatingStyle (2). A rating style for "thumb up" vs "thumb down".

Public Properties

[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
[read-only]
HasHeartbool. Return whether the rating is "heart selected".
[read-only]
IsRatedbool. Return whether there is a rating value available.
[read-only]
IsThumbUpbool. Return whether the rating is "thumb up".
[read-only]
PercentRatingfloat. Return the percentage-based rating value.
[read-only]
RatingStyleRatingStyle. Return the rating style.
[read-only]
StarRatingfloat. Return the star-based rating value.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
static
NewHeartRating(bool) : Rating
Return a Rating instance with a heart-based rating.
static
NewPercentageRating(float) : Rating
Return a Rating instance with a percentage-based rating.
static
NewStarRating(RatingStyle, float) : Rating
Return a Rating instance with a star-based rating.
static
NewThumbRating(bool) : Rating
Return a Rating instance with a thumb-based rating.
static
NewUnratedRating(RatingStyle) : Rating
Return a Rating instance with no rating.
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Flatten this object in to a Parcel.