Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This event occurs when invalid frames arrive for the TrackingId listed in the event args.
Syntax
public:
event TypedEventHandler<FaceFrameSource, TrackingIdLostEventArgs, >^ TrackingIdLost {
EventRegistrationToken add (TypedEventHandler<FaceFrameSource, TrackingIdLostEventArgs, >^ value);
void remove (EventRegistrationToken token);
}
public event TypedEventHandler<FaceFrameSource, TrackingIdLostEventArgs, > TrackingIdLost
function onTrackingIdLost(eventArgs) { /* Your code */ }
// addEventListener syntax
faceFrameSource.addEventListener("trackingidlost", onTrackingIdLost);
faceFrameSource.removeEventListener("trackingidlost", onTrackingIdLost);
- or -
faceFrameSource.ontrackingidlost = onTrackingIdLost;
Requirements
Namespace: Microsoft.Kinect.Face
Assembly: Microsoft.Kinect.Face (in microsoft.kinect.face.dll)