Share via


HighDefinitionFaceFrameSource.TrackingIdLost Event

Occurs when the tracking ID is lost.

Syntax

public:
event TypedEventHandler<HighDefinitionFaceFrameSource, TrackingIdLostEventArgs, >^ TrackingIdLost {
         EventRegistrationToken add (TypedEventHandler<HighDefinitionFaceFrameSource, TrackingIdLostEventArgs, >^ value);
         void remove (EventRegistrationToken token);
}
public event TypedEventHandler<HighDefinitionFaceFrameSource, TrackingIdLostEventArgs, > TrackingIdLost
function onTrackingIdLost(eventArgs) { /* Your code */ }

// addEventListener syntax
highDefinitionFaceFrameSource.addEventListener("trackingidlost", onTrackingIdLost);
highDefinitionFaceFrameSource.removeEventListener("trackingidlost", onTrackingIdLost);

- or -

highDefinitionFaceFrameSource.ontrackingidlost = onTrackingIdLost;

Requirements

Namespace: Microsoft.Kinect.Face

Assembly: Microsoft.Kinect.Face (in microsoft.kinect.face.dll)

See also

Reference

HighDefinitionFaceFrameSource Class
Microsoft.Kinect.Face Namespace