Bewerken

Delen via


sensorsdef.h header

This header is used by sensors. For more information, see:

sensorsdef.h contains the following programming interfaces:

Functions

 
SENSOR_COLLECTION_LIST_CALCULATE_MAX_COUNT

This function calculates the number of SENSOR_VALUE_PAIR elements in a SENSOR_COLLECTION_LIST structure.
SENSOR_COLLECTION_LIST_INIT

This function initializes a SENSOR_COLLECTION_LIST structure.
SENSOR_COLLECTION_LIST_SIZE

This function returns the size of a SENSOR_COLLECTION_LIST structure.
SENSOR_PROPERTY_LIST_CALCULATE_MAX_COUNT

This function calculates the number of PROPERTYKEY elements.
SENSOR_PROPERTY_LIST_INIT

This function initializes a SENSOR_PROPERTY_LIST structure.
SENSOR_PROPERTY_LIST_SIZE

This function returns the size of the property list.

Structures

 
SENSOR_COLLECTION_LIST

This structure contains a list of all SENSOR_VALUE_PAIR structures for each sensor. This structure is returned by calling ReadFile.
SENSOR_PROPERTY_LIST

Learn how this structure contains a list of all SENSOR_VALUE_PAIR structures for each sensor. This structure is returned by calling ReadFile.
SENSOR_VALUE_PAIR

This structure pairs the property keys listed in the Sensor properties section with the data that each key represents.

Enumerations

 
ACTIVITY_STATE

This enumeration represents the activity states reported by the activity detection sensor.
HUMAN_PRESENCE_DETECTION_TYPE

The HUMAN_PRESENCE_DETECTION_TYPE enumeration values indicate types of human presence detection hardware.
HUMAN_PRESENCE_DETECTION_TYPE_COUNT

The HUMAN_PRESENCE_DETECTION_TYPE_COUNT enumeration represents the number of human presence detection types in the HUMAN_PRESENCE_DETECTION_TYPE enum.
MAGNETOMETER_ACCURACY

This enumeration represents the accuracy states of the magnetometer.
PEDOMETER_STEP_TYPE

This enumeration represents the step types reported by the pedometer.
PEDOMETER_STEP_TYPE_COUNT

This enumeration represents the number of step types that can be detected by the pedometer.
PROXIMITY_SENSOR_CAPABILITIES

The PROXIMITY_SENSOR_CAPABILITIES enumeration values indicate the capabilities of a proximity sensor.
SENSOR_CONNECTION_TYPES

Defines the types of sensor device connections.
SENSOR_STATE

This enumeration represents the valid states of a sensor.