Compartilhar via


RemoteControlClient.IOnMetadataUpdateListener.OnMetadataUpdate Method

Definition

Called on the implementer to notify that the metadata field for the given key has been updated to the new value.

[Android.Runtime.Register("onMetadataUpdate", "(ILjava/lang/Object;)V", "GetOnMetadataUpdate_ILjava_lang_Object_Handler:Android.Media.RemoteControlClient/IOnMetadataUpdateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnMetadataUpdate (Android.Media.MediaMetadataEditKey key, Java.Lang.Object? newValue);
[<Android.Runtime.Register("onMetadataUpdate", "(ILjava/lang/Object;)V", "GetOnMetadataUpdate_ILjava_lang_Object_Handler:Android.Media.RemoteControlClient/IOnMetadataUpdateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnMetadataUpdate : Android.Media.MediaMetadataEditKey * Java.Lang.Object -> unit

Parameters

key
MediaMetadataEditKey

the identifier of the updated metadata field.

newValue
Object

the Object storing the new value for the key.

Attributes

Remarks

Called on the implementer to notify that the metadata field for the given key has been updated to the new value.

Java documentation for android.media.RemoteControlClient.OnMetadataUpdateListener.onMetadataUpdate(int, java.lang.Object).

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