Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Rating

public interface Rating
implements VersionedParcelable

androidx.media2.common.Rating


An interface to encapsulate rating information used as content metadata.

Summary

Public methods

abstract boolean isRated()

Returns whether there is a rating value available.

Public methods

isRated

public abstract boolean isRated ()

Returns whether there is a rating value available.

Returns
boolean true if there is an available rating value.