UnrecognizedInputFormatException


@UnstableApi
class UnrecognizedInputFormatException : ParserException


Thrown if the input format was not recognized.

Summary

Public constructors

Public properties

Uri!

The Uri from which the unrecognized data was read.

Inherited functions

From androidx.media3.common.ParserException
java-static ParserException!

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

java-static ParserException!

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

java-static ParserException!

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

java-static ParserException!
createForManifestWithUnsupportedFeature(
    message: String?,
    cause: Throwable?
)

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

java-static ParserException!

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

String?
From java.lang.Throwable

Inherited properties

From androidx.media3.common.ParserException
Boolean

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

Int

The data type of the parsed bitstream.

Public constructors

UnrecognizedInputFormatException

UnrecognizedInputFormatException(message: String!, uri: Uri!)
Parameters
message: String!

The detail message for the exception.

uri: Uri!

The Uri from which the unrecognized data was read.

Public properties

uri

val uriUri!

The Uri from which the unrecognized data was read.