Android.Media.Rating.NewStarRating Method
Return a Rating instance with a star-based rating.

Syntax

[Android.Runtime.Register("newStarRating", "(IF)Landroid/media/Rating;", "")]
public static Rating NewStarRating ([Android.Runtime.GeneratedEnum] RatingStyle starRatingStyle, float starRating)

Parameters

starRatingStyle
one of Rating.Rating3Stars, Rating.Rating4Stars, Rating.Rating5Stars.
starRating
a number ranging from 0.0f to 3.0f, 4.0f or 5.0f according to the rating style.

Returns

Documentation for this section has not yet been entered.

Remarks

Return a Rating instance with a star-based rating. Create and return a new Rating instance with one of the star-base rating styles and the given integer or fractional number of stars. Non integer values can for instance be used to represent an average rating value, which might not be an integer number of stars.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0