public static interface VideoStream.NewFrameListener
VideoStream
using the VideoStream.addNewFrameListener(org.openni.VideoStream.NewFrameListener)
function. Once
this is done, the event handler function you implemented will be called whenever a new frame
becomes available. You may call VideoStream.readFrame()
from within the
event handler.Modifier and Type | Method | Description |
---|---|---|
void |
onFrameReady(VideoStream stream) |
Derived classes should implement this function to handle new frames.
|
void onFrameReady(VideoStream stream)