ExoTimeoutException
@UnstableApi
public final class ExoTimeoutException extends RuntimeException
| java.lang.Object | ||||
| ↳ | 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 |
|
|---|---|
static final int |
The error occurred while detaching a surface from the player. |
static final int |
The error occurred in |
static final int |
The error occurred in |
static final int |
The operation where this error occurred is not defined. |
Public fields |
|
|---|---|
final int |
The operation on the ExoPlayer playback thread that timed out. |
Public constructors |
|---|
ExoTimeoutException(Creates the timeout exception. |
Inherited methods |
|---|
Constants
TIMEOUT_OPERATION_DETACH_SURFACE
public static final int TIMEOUT_OPERATION_DETACH_SURFACE = 3
The error occurred while detaching a surface from the player.
TIMEOUT_OPERATION_RELEASE
public static final int TIMEOUT_OPERATION_RELEASE = 1
The error occurred in release.
TIMEOUT_OPERATION_SET_FOREGROUND_MODE
public static final int TIMEOUT_OPERATION_SET_FOREGROUND_MODE = 2
The error occurred in setForegroundMode.
TIMEOUT_OPERATION_UNDEFINED
public static final int TIMEOUT_OPERATION_UNDEFINED = 0
The operation where this error occurred is not defined.
Public fields
timeoutOperation
@ExoTimeoutException.TimeoutOperation
public final int timeoutOperation
The operation on the ExoPlayer playback thread that timed out.
Public constructors
ExoTimeoutException
public ExoTimeoutException(
@ExoTimeoutException.TimeoutOperation int timeoutOperation
)
Creates the timeout exception.
| Parameters | |
|---|---|
@ExoTimeoutException.TimeoutOperation int timeoutOperation |
The |