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

適用対象