KinectGestureRecognizer.Tapped Event
Occurs when the Kinect for Windows sensor input is interpreted as a tap gesture.
Syntax
public:
event TypedEventHandler<KinectGestureRecognizer, KinectTappedEventArgs>^ Tapped {
EventRegistrationToken add (TypedEventHandler<KinectGestureRecognizer, KinectTappedEventArgs>^ value);
void remove (EventRegistrationToken token);
}
public event TypedEventHandler<KinectGestureRecognizer, KinectTappedEventArgs> Tapped
function onTapped(eventArgs) { /* Your code */ }
// addEventListener syntax
kinectGestureRecognizer.addEventListener("tapped", onTapped);
kinectGestureRecognizer.removeEventListener("tapped", onTapped);
- or -
kinectGestureRecognizer.ontapped = onTapped;
Requirements
Namespace: WindowsPreview.Kinect.Input
Metadata: windowspreview.kinect.winmd
See also
Reference
KinectGestureRecognizer Class
WindowsPreview.Kinect.Input Namespace