次の方法で共有


MediaMetadata.GetText(String) Method

Definition

Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key.

public string? GetText (string? key);
member this.GetText : string -> string

Parameters

key
String

The key the value is stored under

Returns

a CharSequence value, or null

Remarks

Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key.

Java documentation for android.media.MediaMetadata.getText(java.lang.String).

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