SensorType Перечисление

Определение

Указывает тип датчика.

public enum class SensorType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class SensorType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum SensorType
var value = Windows.Devices.Sensors.SensorType.accelerometer
Public Enum SensorType
Наследование
SensorType
Атрибуты

Требования к Windows

Семейство устройств
Windows 10 (появилось в 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v2.0)

Поля

Accelerometer 0

Акселерометр.

ActivitySensor 1

ActivitySensor.

Barometer 2

Барометр.

Compass 3

Компас.

CustomSensor 4

Настраиваемый датчик.

Gyroscope 5

Гирометр.

Inclinometer 7

Инклинометр.

LightSensor 8

LightSensor.

OrientationSensor 9

OrientationSensor.

Pedometer 10

Шагомер.

ProximitySensor 6

ProximitySensor.

RelativeInclinometer 11

Относительный инклинометр.

RelativeOrientationSensor 12

Относительный OrientationSensor.

SimpleOrientationSensor 13

SimpleOrientationSensor.

Применяется к