Rating

Added in 1.0.0
Deprecated in 1.3.0

public interface Rating extends VersionedParcelable

Known direct subclasses
HeartRating

This class is deprecated.

androidx.media2 is deprecated.

PercentageRating

This class is deprecated.

androidx.media2 is deprecated.

StarRating

This class is deprecated.

androidx.media2 is deprecated.

ThumbRating

This class is deprecated.

androidx.media2 is deprecated.


An interface to encapsulate rating information used as content metadata.

Summary

Public methods

abstract boolean

Returns whether there is a rating value available.

Public methods

isRated

Added in 1.0.0
Deprecated in 1.3.0
abstract boolean isRated()

Returns whether there is a rating value available.

Returns
boolean

true if there is an available rating value.