RemoteControlClient.MetadataEditor.PutString(MetadataKey, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds textual information to be displayed.
[Android.Runtime.Register("putString", "(ILjava/lang/String;)Landroid/media/RemoteControlClient$MetadataEditor;", "GetPutString_ILjava_lang_String_Handler")]
public virtual Android.Media.RemoteControlClient.MetadataEditor? PutString (Android.Media.MetadataKey key, string? value);
[<Android.Runtime.Register("putString", "(ILjava/lang/String;)Landroid/media/RemoteControlClient$MetadataEditor;", "GetPutString_ILjava_lang_String_Handler")>]
override this.PutString : Android.Media.MetadataKey * string -> Android.Media.RemoteControlClient.MetadataEditor
Parameters
- key
- MetadataKey
The identifier of a the metadata field to set. Valid values are MetadataKeyAlbum, MetadataKeyAlbumartist, MetadataKeyTitle, MetadataKeyArtist, MetadataKeyAuthor, MetadataKeyCompilation, MetadataKeyComposer, MetadataKeyDate, MetadataKeyGenre, MetadataKeyTitle, MetadataKeyWriter.
- value
- String
The text for the given key, or null
to signify there is no valid
information for the field.
Returns
- Attributes
Exceptions
Remarks
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.