Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SensorState enumeration

Defines possible operational states for sensors.

Syntax


typedef enum  { 
  SENSOR_STATE_MIN,
  SENSOR_STATE_READY          = SENSOR_STATE_MIN,
  SENSOR_STATE_NOT_AVAILABLE,
  SENSOR_STATE_NO_DATA,
  SENSOR_STATE_INITIALIZING,
  SENSOR_STATE_ACCESS_DENIED,
  SENSOR_STATE_ERROR,
  SENSOR_STATE_MAX            = SENSOR_STATE_ERROR
} SensorState;

Constants

SENSOR_STATE_MIN

Minimum enumerated sensor state. Use SENSOR_STATE_READY instead.

SENSOR_STATE_READY

Ready to send sensor data.

SENSOR_STATE_NOT_AVAILABLE

The sensor is not available for use.

SENSOR_STATE_NO_DATA

The sensor is available but does not have data.

SENSOR_STATE_INITIALIZING

The sensor is available, but performing initialization. Try again later.

SENSOR_STATE_ACCESS_DENIED

The sensor is available, but the user account does not have permission to access the sensor data. For more information about permissions, see Managing User Permissions.

SENSOR_STATE_ERROR

The sensor has raised an error.

SENSOR_STATE_MAX

Maximum enumerated sensor state. Not a valid value.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

Header

Sensorsapi.h

 

 

Community Additions

Show:
© 2014 Microsoft