ParsingLoadable.Parser


interface ParsingLoadable.Parser<T>

Known direct subclasses
DashManifestParser

A parser of media presentation description files.

FilteringManifestParser

A manifest parser that includes only the streams identified by the given stream keys.

HlsPlaylistParser

HLS playlists parsing logic.

SsManifestParser

Parses SmoothStreaming client manifests.


Parses an object from loaded data.

Summary

Public functions

T!
parse(uri: Uri!, inputStream: InputStream!)

Parses an object from a response.

Public functions

parse

fun parse(uri: Uri!, inputStream: InputStream!): T!

Parses an object from a response.

Parameters
uri: Uri!

The source Uri of the response, after any redirection.

inputStream: InputStream!

An InputStream from which the response data can be read.

Returns
T!

The parsed object.

Throws
androidx.media3.common.ParserException

If an error occurs parsing the data.

java.io.IOException

If an error occurs reading data from the stream.