Class ExoTimeoutException

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public final class ExoTimeoutException
    extends RuntimeException
    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.
    A timeout of an operation on the ExoPlayer playback thread.
    See Also:
    Serialized Form
    • Field Detail

      • TIMEOUT_OPERATION_UNDEFINED

        public static final int TIMEOUT_OPERATION_UNDEFINED
        Deprecated.
        The operation where this error occurred is not defined.
        See Also:
        Constant Field Values
      • TIMEOUT_OPERATION_DETACH_SURFACE

        public static final int TIMEOUT_OPERATION_DETACH_SURFACE
        Deprecated.
        The error occurred while detaching a surface from the player.
        See Also:
        Constant Field Values
      • timeoutOperation

        @TimeoutOperation
        public final @com.google.android.exoplayer2.ExoTimeoutException.TimeoutOperation int timeoutOperation
        Deprecated.
        The operation on the ExoPlayer playback thread that timed out.
    • Constructor Detail

      • ExoTimeoutException

        public ExoTimeoutException​(@TimeoutOperation
                                   @com.google.android.exoplayer2.ExoTimeoutException.TimeoutOperation int timeoutOperation)
        Deprecated.
        Creates the timeout exception.
        Parameters:
        timeoutOperation - The operation that produced the timeout.