Package com.google.android.exoplayer2
Class ThumbRating
- java.lang.Object
-
- com.google.android.exoplayer2.Rating
-
- com.google.android.exoplayer2.ThumbRating
-
- All Implemented Interfaces:
Bundleable
@Deprecated public final class ThumbRating extends Rating
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 expressed as "thumbs up" or "thumbs down".
-
-
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<ThumbRating>CREATORDeprecated.Object that can restore aThumbRatingfrom aBundle.
-
Constructor Summary
Constructors Constructor Description ThumbRating()Deprecated.Creates a unrated instance.ThumbRating(boolean isThumbsUp)Deprecated.Creates a rated instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)Deprecated.inthashCode()Deprecated.booleanisRated()Deprecated.Whether the rating exists or not.booleanisThumbsUp()Deprecated.Returns whether the rating is "thumbs up".BundletoBundle()Deprecated.Returns aBundlerepresenting the information stored in this object.
-
-
-
Field Detail
-
CREATOR
public static final Bundleable.Creator<ThumbRating> CREATOR
Deprecated.Object that can restore aThumbRatingfrom aBundle.
-
-
Method Detail
-
isRated
public boolean isRated()
Deprecated.Description copied from class:RatingWhether the rating exists or not.
-
isThumbsUp
public boolean isThumbsUp()
Deprecated.Returns whether the rating is "thumbs up".
-
toBundle
public Bundle toBundle()
Deprecated.Description copied from interface:BundleableReturns aBundlerepresenting the information stored in this object.
-
-