A Capabilities element is required in order to access privacy-sensitive NUI data.
Acccess to privacy-sensitive NUI data is limited to applications that have the appropriate capabilities, which are specified (if appropriate) in the Capabilities element in the manifest.
Applications without the appropriate capabilities will not be able to get each Kinect source. The capabilities, and the data that each capability controls, are the following:
| Capability | Data | Notes/Impact |
|---|---|---|
| kinectVision | IR, Depth, Color, BodyIndex | Accessing these sources without this Capability element present will result in an AccessDenied exception. |
| kinectFace | Face and HighDefinitionFace | Instantiating these sources without this Capability element present will result in an AccessDenied exception. |
| kinectExpressions | Body::Expressions, Activities, Engagement, AppearanceModifiers properties | All DetectionResults will be unknown, without this Capability element present. |
| kinectAudio & kinectGameChat | AudioSource | Both of these capabilities are required, to access Kinect Audio. Without these two Capability elements present, accessing this source will result in an AccessDeniedException. |
To add all of these capabilities to your application, add the following to your manifest:
<Capabilities>
<Capability Name="kinectVision"/>
<Capability Name="kinectAudio"/>
<Capability Name="kinectExpressions"/>
<Capability Name="kinectFace"/>
<Capability Name="kinectGamechat"/>
</Capabilities>
Applications that lack this element will not get access to privacy-sensitive NUI data.