ParsingLoadable.Parser


public 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 methods

abstract T
parse(Uri uri, InputStream inputStream)

Parses an object from a response.

Public methods

parse

abstract T parse(Uri uri, InputStream inputStream)

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.