Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 876 Bytes

activitysensor.md

File metadata and controls

35 lines (23 loc) · 876 Bytes
-api-id -api-type
T:Windows.Devices.Sensors.ActivitySensor
winrt class

Windows.Devices.Sensors.ActivitySensor

-description

Represents a sensor that provides the activity and status of a sensor.

-remarks

Note

This class is not supported in JavaScript

In order to use ActivitySensor, you need to define the activity device capability in your app manifest file.

<Capabilities>
    <DeviceCapability Name="activity"/>
</Capabilities>

-examples

For an example implementation, see the activity sensor sample.

-see-also

Activity detection sensor sample