O'Reilly logo

Kinect for Windows SDK Programming Guide by Abhijit Jana

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Controlling multiple sensor status changes

Controlling Kinect status changes is one of the key factors and essential for development. Initially in Chapter 3, Starting to Build Kinect Applications, we have discussed the Status property of the KinectSensor class and how we handle it using the StatusChanged event handler in the Dealing with Kinect Status section.

To quickly recall how you can handle the status change, first of all you have to first register for the StatusChanged event as shown below.

      KinectSensor.KinectSensors.StatusChanged += KinectSensors_StatusChanged;

The StatusChanged event is attached to the KinectSensor class and raised when the KinectSensor.Status property of a Kinect sensor in the collection changes.

Note

You really don't need ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required