Package uk.co.caprica.vlcj.waiter
Synchronous programming framework.
Ordinarily media player programming requires an asynchronous approach, this small framework makes it easier to use a synchronous approach instead.
Most applications are not expected to use this synchronous approach, but there are some use-cases where it can be convenient.
-
Class Summary Class Description Waiter<C,R> Base implementation for a component that waits for specific component state to occur. -
Exception Summary Exception Description BeforeWaiterAbortedException Exception thrown when a media player condition instance triggers aborts by returningfalse
in anUnexpectedWaiterErrorException Exception thrown when a media player condition instance triggers in response to an error.UnexpectedWaiterFinishedException Exception thrown when a media player condition instance triggers in response to the media finishing (reaching the end) unexpectedly before the conditional wait is satisfied.