Condividi tramite


MediaFormat.GetFeatureEnabled(String) Method

Definition

Returns whether a feature is to be enabled (true) or disabled (false).

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

Parameters

feature
String

the name of a MediaCodecInfo.CodecCapabilities feature.

Returns

Attributes

Exceptions

if the feature was neither set to be enabled nor to be disabled.

Remarks

Returns whether a feature is to be enabled (true) or disabled (false).

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