Share via


MediaParser.Create(MediaParser+IOutputConsumer, String[]) Method

Definition

Creates an instance whose backing parser will be selected by sniffing the content during the first #advance call.

[Android.Runtime.Register("create", "(Landroid/media/MediaParser$OutputConsumer;[Ljava/lang/String;)Landroid/media/MediaParser;", "", ApiSince=30)]
public static Android.Media.MediaParser Create (Android.Media.MediaParser.IOutputConsumer outputConsumer, params string[] parserNames);
[<Android.Runtime.Register("create", "(Landroid/media/MediaParser$OutputConsumer;[Ljava/lang/String;)Landroid/media/MediaParser;", "", ApiSince=30)>]
static member Create : Android.Media.MediaParser.IOutputConsumer * string[] -> Android.Media.MediaParser

Parameters

outputConsumer
MediaParser.IOutputConsumer

The OutputConsumer to which extracted data is output.

parserNames
String[]

The names of the parsers to sniff the content with. If empty, a default array of names is used.

Returns

A new instance.

Attributes

Remarks

Java documentation for android.media.MediaParser.create(android.media.OutputConsumer, 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