Compartilhar via


Rating.PercentRating Property

Definition

Return the percentage-based rating value.

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

Property Value

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

Attributes

Remarks

Return the percentage-based rating value.

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

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