Sdílet prostřednictvím


Rating.StarRating Property

Definition

Return the star-based rating value.

public float StarRating { [Android.Runtime.Register("getStarRating", "()F", "")] get; }
[<get: Android.Runtime.Register("getStarRating", "()F", "")>]
member this.StarRating : single

Property Value

a rating value greater or equal to 0.0f, or a negative value if the rating style is not star-based, or if it is unrated.

Attributes

Remarks

Return the star-based rating value.

Java documentation for android.media.Rating.getStarRating().

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