MediaController.Callback.OnMetadataChanged(MediaMetadata) Method

Definition

Override to handle changes to the current metadata.

[Android.Runtime.Register("onMetadataChanged", "(Landroid/media/MediaMetadata;)V", "GetOnMetadataChanged_Landroid_media_MediaMetadata_Handler")]
public virtual void OnMetadataChanged (Android.Media.MediaMetadata? metadata);
[<Android.Runtime.Register("onMetadataChanged", "(Landroid/media/MediaMetadata;)V", "GetOnMetadataChanged_Landroid_media_MediaMetadata_Handler")>]
abstract member OnMetadataChanged : Android.Media.MediaMetadata -> unit
override this.OnMetadataChanged : Android.Media.MediaMetadata -> unit

Parameters

metadata
MediaMetadata

The current metadata for the session or null if none.

Attributes

Remarks

Override to handle changes to the current metadata.

Java documentation for android.media.session.MediaController.Callback.onMetadataChanged(android.media.MediaMetadata).

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