ExoTimeoutException
@UnstableApi
class ExoTimeoutException : RuntimeException
| kotlin.Any | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | androidx.media3.exoplayer.ExoTimeoutException |
A timeout of an operation on the ExoPlayer playback thread.
Summary
Nested types |
|---|
@DocumentedThe operation which produced the timeout error. |
Constants |
|
|---|---|
const Int |
The error occurred while detaching a surface from the player. |
const Int |
The error occurred in |
const Int |
The error occurred in |
const Int |
The operation where this error occurred is not defined. |
Public constructors |
|---|
ExoTimeoutException(Creates the timeout exception. |
Public properties |
|
|---|---|
Int |
The operation on the ExoPlayer playback thread that timed out. |
Inherited functions |
||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Constants
TIMEOUT_OPERATION_DETACH_SURFACE
const val TIMEOUT_OPERATION_DETACH_SURFACE = 3: Int
The error occurred while detaching a surface from the player.
TIMEOUT_OPERATION_RELEASE
const val TIMEOUT_OPERATION_RELEASE = 1: Int
The error occurred in release.
TIMEOUT_OPERATION_SET_FOREGROUND_MODE
const val TIMEOUT_OPERATION_SET_FOREGROUND_MODE = 2: Int
The error occurred in setForegroundMode.
TIMEOUT_OPERATION_UNDEFINED
const val TIMEOUT_OPERATION_UNDEFINED = 0: Int
The operation where this error occurred is not defined.
Public constructors
ExoTimeoutException
ExoTimeoutException(
@ExoTimeoutException.TimeoutOperation timeoutOperation: Int
)
Creates the timeout exception.
| Parameters | |
|---|---|
@ExoTimeoutException.TimeoutOperation timeoutOperation: Int |
The |
Public properties
timeoutOperation
@ExoTimeoutException.TimeoutOperation
val timeoutOperation: Int
The operation on the ExoPlayer playback thread that timed out.