Android.Media.RemoteControlClient.MetadataEditor.PutString Method
Adds textual information to be displayed.

Syntax

[Android.Runtime.Register("putString", "(ILjava/lang/String;)Landroid/media/RemoteControlClient$MetadataEditor;", "GetPutString_ILjava_lang_String_Handler")]
public virtual RemoteControlClient.MetadataEditor PutString ([Android.Runtime.GeneratedEnum] MetadataKey key, string value)

Parameters

key
The identifier of a the metadata field to set. Valid values are MediaMetadataRetriever.MetadataKeyAlbum, MediaMetadataRetriever.MetadataKeyAlbumartist, MediaMetadataRetriever.MetadataKeyTitle, MediaMetadataRetriever.MetadataKeyArtist, MediaMetadataRetriever.MetadataKeyAuthor, MediaMetadataRetriever.MetadataKeyCompilation, MediaMetadataRetriever.MetadataKeyComposer, MediaMetadataRetriever.MetadataKeyDate, MediaMetadataRetriever.MetadataKeyGenre, MediaMetadataRetriever.MetadataKeyTitle, MediaMetadataRetriever.MetadataKeyWriter.
value
The text for the given key, or null to signify there is no valid information for the field.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentException

Remarks

Adds textual information to be displayed. Note that none of the information added after Android.Media.RemoteControlClient.MetadataEditor.Apply has been called, will be displayed.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14