Rating.NewThumbRating(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return a Rating instance with a thumb-based rating.
[Android.Runtime.Register("newThumbRating", "(Z)Landroid/media/Rating;", "")]
public static Android.Media.Rating? NewThumbRating (bool thumbIsUp);
[<Android.Runtime.Register("newThumbRating", "(Z)Landroid/media/Rating;", "")>]
static member NewThumbRating : bool -> Android.Media.Rating
Parameters
- thumbIsUp
- Boolean
true for a "thumb up" rating, false for "thumb down".
Returns
a new Rating instance.
- Attributes
Remarks
Return a Rating instance with a thumb-based rating. Create and return a new Rating instance with a #RATING_THUMB_UP_DOWN
rating style, and a "thumb up" or "thumb down" rating.
Java documentation for android.media.Rating.newThumbRating(boolean)
.
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.