Share via


ActivityType Enum

Definition

Specifies activity types of a sensor.

public enum class ActivityType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ActivityType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ActivityType
var value = Windows.Devices.Sensors.ActivityType.unknown
Public Enum ActivityType
Inheritance
ActivityType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Unknown 0

The sensor indicates an unknown activity.

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.

Stationary 2

The sensor indicates that it's not moving.

Fidgeting 3

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

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.

Running 5

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

InVehicle 6

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

Biking 7

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

Applies to