public class VideoListener
extends java.lang.Object
implements java.lang.AutoCloseable
Constructor and Description |
---|
VideoListener(java.util.function.Consumer<VideoEvent> listener,
int eventMask,
boolean immediateNotify)
Create an event listener.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
free()
Deprecated.
|
boolean |
isValid() |
public VideoListener(java.util.function.Consumer<VideoEvent> listener, int eventMask, boolean immediateNotify)
listener
- Listener functioneventMask
- Bitmask of VideoEvent.Type valuesimmediateNotify
- Whether callback should be immediately called with
a representative set of events for the current library state.