Back to Exoplayer

UnrecognizedInputFormatException (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/UnrecognizedInputFormatException.html

latest4.1 KB
Original Source

Package com.google.android.exoplayer2.source

Class UnrecognizedInputFormatException


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classUnrecognizedInputFormatExceptionextends[ParserException](../ParserException.html "class in com.google.android.exoplayer2")

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Thrown if the input format was not recognized. See Also:Serialized Form

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | Uri | uri | Deprecated.

The Uri from which the unrecognized data was read. |

- 

Fields inherited from class com.google.android.exoplayer2.ParserException

contentIsMalformed, dataType

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | UnrecognizedInputFormatException​(String message, Uri uri) | Deprecated. |

Method Summary

- 

Methods inherited from class com.google.android.exoplayer2.ParserException

createForMalformedContainer, createForMalformedDataOfUnknownType, createForMalformedManifest, createForManifestWithUnsupportedFeature, createForUnsupportedContainerFeature, getMessage

- 

Methods inherited from class java.lang.Throwable

addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

- 

uri

public final[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")uri

Deprecated.

The Uri from which the unrecognized data was read.

Constructor Detail

- 

UnrecognizedInputFormatException

public UnrecognizedInputFormatException​([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")message,[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")uri)

Deprecated. Parameters:message - The detail message for the exception.uri - The Uri from which the unrecognized data was read.