// sensorsdef.h
typedef enum ACTIVITY_STATE {
ActivityState_Unknown,
ActivityState_Stationary,
ActivityState_Fidgeting,
ActivityState_Walking,
ActivityState_Running,
ActivityState_InVehicle,
ActivityState_Biking,
ActivityState_Idle,
ActivityState_Max,
ActivityState_Force_Dword
} ;
View the official Windows Driver Kit DDI referenceNo description available.
This enumeration represents the activity states reported by the activity detection sensor.
ActivityState_UnknownThe sensor cannot accurately determine the current activity.
ActivityState_StationaryIndicates that the sensor is currently stationary.
ActivityState_FidgetingDescribes the current activity as "fidgeting."
ActivityState_WalkingDescribes the current activity as "walking."
ActivityState_RunningDescribes the current activity as "running."
ActivityState_InVehicleDescribes the current activity as "traveling in a vehicle."
ActivityState_BikingDescribes the current activity as "biking."
ActivityState_IdleDescribes the current activity as "idle."
ActivityState_MaxIndicates that the current activity state is generating maximum sensor values. In this scenario the sensor doesn't indicate what the activity is.
ActivityState_Force_DwordUsed to force the ACTIVITY_STATE enum to a 32-bit data type (a DWORD).
For more information about the sensor data fields that use this enumeration, see Activity detection sensor data fields.
Activity detection sensor data fields