com.primesense.nite
Interface UserTracker.NewFrameListener
- Enclosing class:
- UserTracker
public static interface UserTracker.NewFrameListener
This is a listener interface that is used to react to events generated by the
UserTracker
class.
To use this class, you must derive a class from it that implements the onNewFrame(UserTracker)
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 UserTracker
. When that UserTracker
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:
UserTracker
onNewFrame
void onNewFrame(UserTracker userTracker)