Share via


MediaMetadata.ContainsKey(String) Method

Definition

Returns true if the given key is contained in the metadata

[Android.Runtime.Register("containsKey", "(Ljava/lang/String;)Z", "")]
public bool ContainsKey (string? key);
[<Android.Runtime.Register("containsKey", "(Ljava/lang/String;)Z", "")>]
member this.ContainsKey : string -> bool

Parameters

key
String

a String key

Returns

true if the key exists in this metadata, false otherwise

Attributes

Remarks

Returns true if the given key is contained in the metadata

Java documentation for android.media.MediaMetadata.containsKey(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