Android.Media.MediaCodecList.FindEncoderForFormat Method
Find an encoder supporting a given Android.Media.MediaFormat in the list of media-codecs.

Syntax

[Android.Runtime.Register("findEncoderForFormat", "(Landroid/media/MediaFormat;)Ljava/lang/String;", "")]
public string FindEncoderForFormat (MediaFormat format)

Parameters

format
An encoder media format with optional feature directives.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif format is not a valid media format.
Java.Lang.NullPointerExceptionif format is null.

Remarks

Find an encoder supporting a given Android.Media.MediaFormat in the list of media-codecs.

[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