Rating.HasHeart Property

Definition

Return whether the rating is "heart selected".

public bool HasHeart { [Android.Runtime.Register("hasHeart", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasHeart", "()Z", "")>]
member this.HasHeart : bool

Property Value

true if the rating is "heart selected", false if the rating is "heart unselected", if the rating style is not #RATING_HEART or if it is unrated.

Attributes

Remarks

Return whether the rating is "heart selected".

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

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