Share via


MediaParser.ParserName Property

Definition

Returns the name of the backing parser implementation.

public string ParserName { [Android.Runtime.Register("getParserName", "()Ljava/lang/String;", "", ApiSince=30)] [Android.Runtime.StringDef(Fields=new System.String[] { "ParserNameUnknown", "ParserNameMatroska", "ParserNameFmp4", "ParserNameMp4", "ParserNameMp3", "ParserNameAdts", "ParserNameAc3", "ParserNameTs", "ParserNameFlv", "ParserNameOgg", "ParserNamePs", "ParserNameWav", "ParserNameAmr", "ParserNameAc4", "ParserNameFlac" }, Type="Android.Media.MediaParser")] get; }
[<get: Android.Runtime.Register("getParserName", "()Ljava/lang/String;", "", ApiSince=30)>]
[<get: Android.Runtime.StringDef(Fields=new System.String[] { "ParserNameUnknown", "ParserNameMatroska", "ParserNameFmp4", "ParserNameMp4", "ParserNameMp3", "ParserNameAdts", "ParserNameAc3", "ParserNameTs", "ParserNameFlv", "ParserNameOgg", "ParserNamePs", "ParserNameWav", "ParserNameAmr", "ParserNameAc4", "ParserNameFlac" }, Type="Android.Media.MediaParser")>]
member this.ParserName : string

Property Value

The name of the backing parser implementation, or null if the backing parser implementation has not yet been selected.

Attributes

Remarks

Returns the name of the backing parser implementation.

If this instance was creating using #createByName, the provided name is returned. If this instance was created using #create, this method will return #PARSER_NAME_UNKNOWN until the first call to #advance, after which the name of the backing parser implementation is returned.

Java documentation for android.media.MediaParser.getParserName().

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