Stay organized with collections Save and categorize content based on your preferences.

ExoTimeoutException

@UnstableApi
class ExoTimeoutException : RuntimeException


A timeout of an operation on the ExoPlayer playback thread.

Summary

Nested types

@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = )
@IntDef(value = )
annotation ExoTimeoutException.TimeoutOperation

The 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 release.

const Int

The error occurred in setForegroundMode.

const Int

The operation where this error occurred is not defined.

Public constructors

Creates the timeout exception.

Public properties

Int

The operation on the ExoPlayer playback thread that timed out.

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 operation that produced the timeout.

Public properties

timeoutOperation

@ExoTimeoutException.TimeoutOperation
val timeoutOperationInt

The operation on the ExoPlayer playback thread that timed out.