Compartilhar via


MediaSession.Callback.OnSetRating(Rating) Method

Definition

Override to handle the item being rated.

[Android.Runtime.Register("onSetRating", "(Landroid/media/Rating;)V", "GetOnSetRating_Landroid_media_Rating_Handler")]
public virtual void OnSetRating (Android.Media.Rating rating);
[<Android.Runtime.Register("onSetRating", "(Landroid/media/Rating;)V", "GetOnSetRating_Landroid_media_Rating_Handler")>]
abstract member OnSetRating : Android.Media.Rating -> unit
override this.OnSetRating : Android.Media.Rating -> unit

Parameters

rating
Rating

rating

Attributes

Remarks

Override to handle the item being rated.

Java documentation for android.media.session.MediaSession.Callback.onSetRating(android.media.Rating).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to