Serializable
public final class ExoTimeoutException extends Exception
Modifier and Type | Class | Description |
---|---|---|
static interface |
ExoTimeoutException.TimeoutOperation |
The operation which produced the timeout error.
|
Modifier and Type | Field | Description |
---|---|---|
static int |
TIMEOUT_OPERATION_DETACH_SURFACE |
The error occurred while detaching a surface from the player.
|
static int |
TIMEOUT_OPERATION_RELEASE |
The error occurred in
Player.release() . |
static int |
TIMEOUT_OPERATION_SET_FOREGROUND_MODE |
The error occurred in
ExoPlayer.setForegroundMode(boolean) . |
static int |
TIMEOUT_OPERATION_UNDEFINED |
The operation where this error occurred is not defined.
|
int |
timeoutOperation |
The operation on the ExoPlayer playback thread that timed out.
|
Constructor | Description |
---|---|
ExoTimeoutException(int timeoutOperation) |
Creates the timeout exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int TIMEOUT_OPERATION_UNDEFINED
public static final int TIMEOUT_OPERATION_RELEASE
Player.release()
.public static final int TIMEOUT_OPERATION_SET_FOREGROUND_MODE
ExoPlayer.setForegroundMode(boolean)
.public static final int TIMEOUT_OPERATION_DETACH_SURFACE
@TimeoutOperation public final int timeoutOperation
public ExoTimeoutException(@TimeoutOperation int timeoutOperation)
timeoutOperation
- The operation
that produced the timeout.