Package com.google.android.exoplayer2
Class Rating
- java.lang.Object
-
- com.google.android.exoplayer2.Rating
-
- All Implemented Interfaces:
Bundleable
- Direct Known Subclasses:
HeartRating
,PercentageRating
,StarRating
,ThumbRating
@Deprecated public abstract class Rating extends Object implements Bundleable
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.A rating for media content. The style of a rating can be one ofHeartRating
,PercentageRating
,StarRating
, orThumbRating
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.android.exoplayer2.Bundleable
Bundleable.Creator<T extends Bundleable>
-
-
Field Summary
Fields Modifier and Type Field Description static Bundleable.Creator<Rating>
CREATOR
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description abstract boolean
isRated()
Deprecated.Whether the rating exists or not.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.android.exoplayer2.Bundleable
toBundle
-
-
-
-
Field Detail
-
CREATOR
public static final Bundleable.Creator<Rating> CREATOR
Deprecated.
-
-