Share via


FaceModelBuilder.CollectionStatusChanged Event

Occurs when the collection status changes.

Syntax

public:
event TypedEventHandler<FaceModelBuilder, CollectionStatusChangedEventArgs>^ CollectionStatusChanged {
         EventRegistrationToken add (TypedEventHandler<FaceModelBuilder, CollectionStatusChangedEventArgs>^ value);
         void remove (EventRegistrationToken token);
}
public event TypedEventHandler<FaceModelBuilder, CollectionStatusChangedEventArgs> CollectionStatusChanged
function onCollectionStatusChanged(eventArgs) { /* Your code */ }

// addEventListener syntax
faceModelBuilder.addEventListener("collectionstatuschanged", onCollectionStatusChanged);
faceModelBuilder.removeEventListener("collectionstatuschanged", onCollectionStatusChanged);

- or -

faceModelBuilder.oncollectionstatuschanged = onCollectionStatusChanged;

Requirements

Namespace: Microsoft.Kinect.Face

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

See also

Reference

FaceModelBuilder Class
Microsoft.Kinect.Face Namespace