Enable (Standard 8 Module Reference)

7/8/2014

Review the applicable Feature modules and any examples for the Enable setting in Windows Embedded 8 Standard (Standard 8).

This setting specifies whether to enable a category or type of sensor.

Set to true to enable it; otherwise, set to false. The default value is false.

The following table shows the modules that you can apply this setting to. In Image Configuration Editor (ICE), you can follow the corresponding path to set this setting for a module.

Module

Path

Proximity, Sensor and Location

Features/Natural User Interface/Proximity, Sensor and Location/SensorPermissions/Sensor/Enable

The following XML examples show how to set Enable.

Enable DynamicUpdate

The following XML example shows how to enable dynamic updates.

<DynamicUpdate>
   <Enable>true</Enable>
   <WillShowUI>Never</WillShowUI>
</DynamicUpdate>

Enable Sensor

The following XML example shows how to enable speedometers. The GUID and the GUID classification: Type maps to the speedometers sensor type, as described in Motion Category in Sensor Categories, Types, and Data Fields on MSDN.

<Sensor wcm:action="add">
    <Order>1</Order>
    <GUID>{6BD73C1F-0BB4-4310-81B2-DFC18A52BF94}</GUID>
    <GUIDClassification>Type</GUIDClassification>
    <Enable>true</Enable>
</Sensor>
Show: