Rating

Added in 1.0.0
Deprecated in 1.3.0

interface Rating : 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 functions

Boolean

Returns whether there is a rating value available.

Public functions

isRated

Added in 1.0.0
Deprecated in 1.3.0
fun isRated(): Boolean

Returns whether there is a rating value available.

Returns
Boolean

true if there is an available rating value.