KinectSensorChooser Members
The following table(s) list the members exposed by the KinectSensorChooser type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
KinectSensorChooser | Component that automatically finds a Kinect and handles updates to the sensor. |
Public Properties
Name | Description | |
---|---|---|
![]() |
Kinect | The sensor that this component has connected to. When this changes clients will get INotifyPropertyChanged events. |
![]() |
RequiredConnectionId | The DeviceConnectionId for the sensor. Set this to null to have the KinectSensorChooser find the first available sensor. |
![]() |
Status | The status of the current sensor or why we cannot retrieve a sensor. When this changes clients will get INotifyPropertyChanged events. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Start | Starts choosing a sensor. In the typical case, a sensor will be found and events will be fired before this function returns. |
![]() |
Stop | Gives up the current sensor if it has one. Stops watching for new sensors. |
![]() |
TryResolveConflict | Called to retry finding a sensor when the SensorConflict or NoAvailableSensors flags are set. |
Public Events
Name | Description | |
---|---|---|
![]() |
KinectChanged | Event triggered when the choosen KinectSensor changed. This is roughly equivalent to monitoring the PropertyChanged event and watching for the "Kinect" property. |
![]() |
PropertyChanged | ContextEventWrapper< > needs EvendHandler<> defined handlers. PropertyChangedEventHandler is not like that so we wrap it in a handler that is. These handlers need to be tracked so the proper thing gets removed. Need to lock to protect the changedHandlers data. |
See Also
Reference
KinectSensorChooser Class
Microsoft.Kinect.Toolkit Namespace