SensorPermissions
Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2012 R2
SensorPermissions
contains the settings to specify details about sensors.
The lists of sensor categories and types are available at the MSDN site: Sensor Categories, Types, and Data Fields.
Child Elements
Specifies the details about a sensor. |
Valid Configuration Passes
oobeSystem
Parent Hierarchy
Microsoft-Windows-MobilePC-Sensors-API | SensorPermissions
Applies To
For a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-MobilePC-Sensors-API.
XML Example
The following example XML output shows how to specify that all motion sensors are enabled, except for speedometers. In this example:
The GUID: {CD09DAF1-3B2E-4C3D-B598-B5E5FF93FD46} and the GUID classification: Category map to the sensor category: motion sensors.
The GUID: {6BD73C1F-0BB4-4310-81B2-DFC18A52BF94} and the GUID classification: Type map to the sensor type: speedometers.
<SensorPermissions>
<Sensor wcm:action="add">
<Order>1</Order>
<GUID>{CD09DAF1-3B2E-4C3D-B598-B5E5FF93FD46}</GUID>
<GUIDClassification>Category</GUIDClassification>
<Enable>true</Enable>
</Sensor>
<Sensor wcm:action="add">
<Order>2</Order>
<GUID>{6BD73C1F-0BB4-4310-81B2-DFC18A52BF94}</GUID>
<GUIDClassification>Type</GUIDClassification>
<Enable>false</Enable>
</Sensor>
</SensorPermissions>