SsManifestParser.MissingFieldException


public class SsManifestParser.MissingFieldException extends ParserException


Thrown if a required field is missing.

Summary

Public constructors

Inherited fields

From androidx.media3.common.ParserException
final boolean

Whether the parsing error was caused by a bitstream not following the expected format.

final int

The data type of the parsed bitstream.

Inherited methods

From androidx.media3.common.ParserException
static ParserException
createForMalformedContainer(
    @Nullable String message,
    @Nullable Throwable cause
)

Creates a new instance for which contentIsMalformed is true and dataType is DATA_TYPE_MEDIA.

static ParserException

Creates a new instance for which contentIsMalformed is true and dataType is DATA_TYPE_UNKNOWN.

static ParserException
createForMalformedManifest(
    @Nullable String message,
    @Nullable Throwable cause
)

Creates a new instance for which contentIsMalformed is true and dataType is DATA_TYPE_MANIFEST.

static ParserException

Creates a new instance for which contentIsMalformed is false and dataType is DATA_TYPE_MANIFEST.

static ParserException

Creates a new instance for which contentIsMalformed is false and dataType is DATA_TYPE_MEDIA.

@Nullable String
From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public constructors

MissingFieldException

public MissingFieldException(String fieldName)