Language

MediaCodecInfo.CodecCapabilities.IsFeatureRequired(String) Method

Definition

Query codec feature requirements.

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

Parameters

name
String

The codec feature name to look up in the required-feature record.

Returns

Whether the named feature is marked as required by these capabilities.

Attributes

Remarks

Query codec feature requirements.

These features are required to be used by the codec, and as such, they are always turned on.

Java documentation for android.media.MediaCodecInfo.CodecCapabilities.isFeatureRequired(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