FileDocCategorySizeDatePackage
RatingCompatApi21.javaAPI DocAndroid 5.1 API2024Thu Mar 12 22:22:56 GMT 2015android.support.v4.media

RatingCompatApi21

public class RatingCompatApi21 extends Object

Fields Summary
Constructors Summary
Methods Summary
public static floatgetPercentRating(java.lang.Object ratingObj)

        return ((Rating)ratingObj).getPercentRating();
    
public static intgetRatingStyle(java.lang.Object ratingObj)

        return ((Rating)ratingObj).getRatingStyle();
    
public static floatgetStarRating(java.lang.Object ratingObj)

        return ((Rating)ratingObj).getStarRating();
    
public static booleanhasHeart(java.lang.Object ratingObj)

        return ((Rating)ratingObj).hasHeart();
    
public static booleanisRated(java.lang.Object ratingObj)

        return ((Rating)ratingObj).isRated();
    
public static booleanisThumbUp(java.lang.Object ratingObj)

        return ((Rating)ratingObj).isThumbUp();
    
public static java.lang.ObjectnewHeartRating(boolean hasHeart)

        return Rating.newHeartRating(hasHeart);
    
public static java.lang.ObjectnewPercentageRating(float percent)

        return Rating.newPercentageRating(percent);
    
public static java.lang.ObjectnewStarRating(int starRatingStyle, float starRating)

        return Rating.newStarRating(starRatingStyle, starRating);
    
public static java.lang.ObjectnewThumbRating(boolean thumbIsUp)

        return Rating.newThumbRating(thumbIsUp);
    
public static java.lang.ObjectnewUnratedRating(int ratingStyle)

        return Rating.newUnratedRating(ratingStyle);