IviMediaRating
class IviMediaRating(val type: IviMediaRating.Type = Type.UNSUPPORTED, initialValue: Float = UNRATED) : Serializable
Rating assigned to an IviMediaItem.
The type determines the allowed value range for initialValue
.
Parameters
type
Type of rating.
initialValue
The initial rating value. Values outside of the allowed range for the selected type will be considered as no rating.
Types
Properties
Functions
Link copied to clipboard
The equality check is overridden to ensure identical IviMediaItems containing IviMediaRating will be equal.
Link copied to clipboard
Retrieve whether a thumbs down rating was given.
Link copied to clipboard
Retrieve whether a thumbs up rating was given.
Inherited functions
Link copied to clipboard
Converts IviMediaRating to a RatingCompat, if possible, or null.