ActivityType ActivityType ActivityType ActivityType ActivityType Enum

Definition

Specifies activity types of a sensor.

public : enum class ActivityType
enum class winrt::Windows::Devices::Sensors::ActivityType : int32_t
public enum ActivityType
Public Enum ActivityType
var value = Windows.Devices.Sensors.ActivityType.biking;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Biking Biking Biking Biking Biking 7

The sensor indicates the user is riding a bicycle on the ground.

Fidgeting Fidgeting Fidgeting Fidgeting Fidgeting 3

The sensor indicates that it making minor movements while the user is stationary.

Idle Idle Idle Idle Idle 1

The sensor indicates it is active but in an idle state. It is not with the user and remaining still such as resting on a table.

InVehicle InVehicle InVehicle InVehicle InVehicle 6

The sensor indicates the user is traveling in a motor vehicle on the ground.

Running Running Running Running Running 5

The sensor indicates the user is traveling at a faster rate than walking and both feet are off the ground between steps.

Stationary Stationary Stationary Stationary Stationary 2

The sensor indicates that it's not moving.

Unknown Unknown Unknown Unknown Unknown 0

The sensor indicates an unknown activity.

Walking Walking Walking Walking Walking 4

The sensor indicates the user is walking. The user travels at a moderate pace with one foot on the ground at all times.