onSetRating

abstract fun onSetRating(player: Player, rating: RatingCompat)

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

Parameters

player

The THEOplayer instance currently attached to the connector.

rating

The rating being set.


abstract fun onSetRating(player: Player, rating: RatingCompat, extras: Bundle?)

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

Parameters

player

The THEOplayer instance currently attached to the connector.

rating

The rating being set.

extras

The extras can include information about the media item being rated.