Android.Media.MediaFormat.SetFeatureEnabled Method
Sets whether a feature is to be enabled (true) or disabled (false).

Syntax

[Android.Runtime.Register("setFeatureEnabled", "(Ljava/lang/String;Z)V", "")]
public void SetFeatureEnabled (string feature, bool enabled)

See Also

MediaCodecList.FindDecoderForFormat(MediaFormat)
MediaCodecList.FindEncoderForFormat(MediaFormat)

Parameters

feature
the name of a NoType:android/media/MediaCodecInfo$CodecCapabilities;Href=../../../reference/android/media/MediaCodecInfo.CodecCapabilities.html feature.
enabled
Documentation for this section has not yet been entered.

Remarks

Sets whether a feature is to be enabled (true) or disabled (false). If enabled is true, the feature is requested to be present. Otherwise, the feature is requested to be not present.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16