程序包 org.openni
接口 VideoStream.NewFrameListener
-
- 封闭类:
- VideoStream
public static interface VideoStream.NewFrameListener
The VideoStream::NewFrameListener interface is provided to allow the implementation of event driven frame reading. To use it, create a class that inherits from it and implement override the onNewFrame() method. Then, register your created class with an activeVideoStream
using theVideoStream.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 callVideoStream.readFrame()
from within the event handler.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
onFrameReady(VideoStream stream)
Derived classes should implement this function to handle new frames.
-
-
-
方法详细资料
-
onFrameReady
void onFrameReady(VideoStream stream)
Derived classes should implement this function to handle new frames.
-
-