Share via


IAudioMetadataMap.Set(AudioMetadata+IKey, Object) Method

Definition

Sets a value for the key.

[Android.Runtime.Register("set", "(Landroid/media/AudioMetadata$Key;Ljava/lang/Object;)Ljava/lang/Object;", "GetSet_Landroid_media_AudioMetadata_Key_Ljava_lang_Object_Handler:Android.Media.IAudioMetadataMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public Java.Lang.Object? Set (Android.Media.AudioMetadata.IKey key, Java.Lang.Object value);
[<Android.Runtime.Register("set", "(Landroid/media/AudioMetadata$Key;Ljava/lang/Object;)Ljava/lang/Object;", "GetSet_Landroid_media_AudioMetadata_Key_Ljava_lang_Object_Handler:Android.Media.IAudioMetadataMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
abstract member Set : Android.Media.AudioMetadata.IKey * Java.Lang.Object -> Java.Lang.Object

Parameters

key
AudioMetadata.IKey

interface for storing the value.

value
Object

a non-null value of type T.

Returns

the previous value associated with key or null if it doesn't exist.

Attributes

Remarks

Java documentation for android.media.AudioMetadataMap.set(android.media.Key, 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