Język

MediaFormat.ContainsFeature(String) Method

Definition

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

[Android.Runtime.Register("containsFeature", "(Ljava/lang/String;)Z", "", ApiSince=29)]
public bool ContainsFeature(string name);
[<Android.Runtime.Register("containsFeature", "(Ljava/lang/String;)Z", "", ApiSince=29)>]
member this.ContainsFeature : string -> bool

Parameters

name
String

The feature name, without the format's internal feature-key prefix.

Returns

Whether a setting for this feature exists, regardless of whether that setting enables or disables it.

Attributes

Remarks

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

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