Język

MediaFormat.ContainsKey(String) Method

Definition

Returns true iff a key of the given name exists in the format.

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

Parameters

name
String

The format entry key to look up.

Returns

Whether the key is present in the format, including an entry whose stored value is null.

Attributes

Remarks

Returns true iff a key of the given name exists in the format.

Java documentation for android.media.MediaFormat.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