Android.Media.MediaCodec.CreateByCodecName Method
If you know the exact name of the component you want to instantiate use this method to instantiate it.

Syntax

[Android.Runtime.Register("createByCodecName", "(Ljava/lang/String;)Landroid/media/MediaCodec;", "")]
public static MediaCodec CreateByCodecName (string name)

Parameters

name
The name of the codec to be instantiated.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif the codec cannot be created.
Java.Lang.IllegalArgumentExceptionif name is not valid.
Java.Lang.NullPointerExceptionif name is null.

Remarks

If you know the exact name of the component you want to instantiate use this method to instantiate it. Use with caution. Likely to be used with information obtained from Android.Media.MediaCodecList

[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