com.primesense.nite
Interface HandTracker.NewFrameListener

Enclosing class:
HandTracker

public static interface HandTracker.NewFrameListener

This is a listener interface that is used to react to events generated by the HandTracker class. To use this class, you must derive a class from it that implements the onNewFrame(HandTracker) function. This is the function that will be called when an event is generated. Create a new instance of your derived class. Then, use the addNewFrameListener() function to add the listener to the HandTracker. When that HandTracker generates an onNewFrame event, \ the specified callback function will be called. The onNewFrame event is currently the only event type that this listener is designed to work with.

See Also:
HandTracker

Method Summary
 void onNewFrame(HandTracker handTracker)
           
 

Method Detail

onNewFrame

void onNewFrame(HandTracker handTracker)