Język

RemoteControlClient.MetadataEditor.PutString(MetadataKey, String) Method

Definition

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

value
String

The text for the given key, or null to signify there is no valid information for the field.

Returns

Returns a reference to the same MetadataEditor object, so you can chain put calls together.

Attributes

Exceptions

Remarks

Adds textual information to be displayed. Note that none of the information added after apply() has been called, will be displayed.

Android reference for android.media.RemoteControlClient.MetadataEditor.putString.

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