public static interface OpenNI.DeviceStateChangedListener
OpenNI.addDeviceStateChangedListener(org.openni.OpenNI.DeviceStateChangedListener)
function to add your listener object to OpenNI's list of listeners. Your handler function will
then be called whenever the event occurs. A
OpenNI.removeDeviceStateChangedListener(org.openni.OpenNI.DeviceStateChangedListener)
function is also provided, if you want to have your class stop listening to these events for
any reason.Modifier and Type | Method | Description |
---|---|---|
void |
onDeviceStateChanged(DeviceInfo info,
int deviceState) |
Callback function for the onDeviceStateChanged event.
|
void onDeviceStateChanged(DeviceInfo info, int deviceState)