Class ExoTimeoutException

  • All Implemented Interfaces:

    public final class ExoTimeoutException
    extends Exception
    A timeout of an operation on the ExoPlayer playback thread.
    See Also:
    Serialized Form
    • Field Detail


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

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

        public final int timeoutOperation
        The operation on the ExoPlayer playback thread that timed out.
    • Constructor Detail

      • ExoTimeoutException

        public ExoTimeoutException​(@TimeoutOperation
                                   int timeoutOperation)
        Creates the timeout exception.
        timeoutOperation - The operation that produced the timeout.