Android.Media.MediaMetadataEditor.PutString Method
Adds textual information.

Syntax

[Android.Runtime.Register("putString", "(ILjava/lang/String;)Landroid/media/MediaMetadataEditor;", "GetPutString_ILjava_lang_String_Handler")]
public virtual MediaMetadataEditor PutString ([Android.Runtime.GeneratedEnum] MediaMetadataEditKey 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.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. Note that none of the information added after MediaMetadataEditor.Apply has been called, will be available to consumers of metadata stored by the MediaMetadataEditor.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0