RatingCallback

interface RatingCallback

RatingCallback allows handling rating actions when sent by a media controller.

Functions

Link copied to clipboard
abstract fun onSetRating(player: Player, rating: RatingCompat)
abstract fun onSetRating(player: Player, rating: RatingCompat, extras: Bundle?)

Called when the media controller wants to set a rating for the item currently playing.