MediaParser.GetParserNames(MediaFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an immutable list with the names of the parsers that are suitable for container
formats with the given MediaFormat
.
[Android.Runtime.Register("getParserNames", "(Landroid/media/MediaFormat;)Ljava/util/List;", "", 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")]
public static System.Collections.Generic.IList<string> GetParserNames (Android.Media.MediaFormat mediaFormat);
[<Android.Runtime.Register("getParserNames", "(Landroid/media/MediaFormat;)Ljava/util/List;", "", 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")>]
static member GetParserNames : Android.Media.MediaFormat -> System.Collections.Generic.IList<string>
Parameters
- mediaFormat
- MediaFormat
The MediaFormat
to check support for.
Returns
The parser names that support the given mediaFormat
, or the list of all
parsers available if no container specific format information is provided.
- Attributes
Remarks
Java documentation for android.media.MediaParser.getParserNames(android.media.MediaFormat)
.
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.