SensorType SensorType SensorType SensorType SensorType Enum

Definition

Indicates the type of sensor.

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

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)

Fields

Accelerometer Accelerometer Accelerometer Accelerometer Accelerometer 0

An Accelerometer.

ActivitySensor ActivitySensor ActivitySensor ActivitySensor ActivitySensor 1

An ActivitySensor.

Barometer Barometer Barometer Barometer Barometer 2

A Barometer.

Compass Compass Compass Compass Compass 3

A Compass.

CustomSensor CustomSensor CustomSensor CustomSensor CustomSensor 4

A custom sensor.

Gyroscope Gyroscope Gyroscope Gyroscope Gyroscope 5

A Gyrometer.

Inclinometer Inclinometer Inclinometer Inclinometer Inclinometer 7

An Inclinometer.

LightSensor LightSensor LightSensor LightSensor LightSensor 8

A LightSensor.

OrientationSensor OrientationSensor OrientationSensor OrientationSensor OrientationSensor 9

An OrientationSensor.

Pedometer Pedometer Pedometer Pedometer Pedometer 10

A Pedometer.

ProximitySensor ProximitySensor ProximitySensor ProximitySensor ProximitySensor 6

A ProximitySensor.

RelativeInclinometer RelativeInclinometer RelativeInclinometer RelativeInclinometer RelativeInclinometer 11

A relative Inclinometer.

RelativeOrientationSensor RelativeOrientationSensor RelativeOrientationSensor RelativeOrientationSensor RelativeOrientationSensor 12

A relative OrientationSensor.

SimpleOrientationSensor SimpleOrientationSensor SimpleOrientationSensor SimpleOrientationSensor SimpleOrientationSensor 13

A SimpleOrientationSensor.