SensorType

Wisej.Hybrid.Shared.Sensors.SensorType

Namespace: Wisej.Hybrid.Shared.Sensors

Assembly: Wisej.Hybrid (3.5.0.0)

Types of device sensors.

public enum SensorType : Enum

Fields

NameDescription

Accelerometer

The accelerometer sensor measures the acceleration of the device along its three axes. The data reported by the sensor represents how the user is moving the device.

Barometer

The barometer sensor measures the ambient air pressure. The data reported by the sensor represents the current air pressure. This data is reported the first time you start monitoring the sensor and then each time the pressure changes.

Compass

The compass sensor monitors the device's magnetic north heading.

Gyroscope

The gyroscope sensor measures the angular rotation speed around the device's three primary axes.

Magnetometer

The magnetometer sensor indicates the device's orientation relative to Earth's magnetic field.

Orientation

The orientation sensor monitors the orientation of a device in 3D space.

Shake

The accelerometer is used to detect when the device is shaken.

Used By

NameDescription

Gets whether the given SensorType is supported on the hybrid device.

Gets whether the given SensorType is available for monitoring on the hybrid device.

Starts monitoring the given SensorType on the hybrid device.

Stops monitoring the given SensorType on the hybrid device.

The type of sensor that changed.

Last updated