DeviceSensorInfo
Wisej.Hybrid.DeviceSensorInfo
Last updated
Wisej.Hybrid.DeviceSensorInfo
Last updated
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Represents information about device sensors. This class provides properties to check if specific sensors are supported by a device.
Access this class through the Info singleton.
Initializes a new instance of the DeviceSensorInfo class.
Boolean: Gets a value indicating whether the accelerometer is supported.
Boolean: Gets a value indicating whether the barometer is supported.
Boolean: Gets a value indicating whether the compass is supported.
Boolean: Gets a value indicating whether the gyroscope is supported.
Boolean: Gets a value indicating whether the magnetometer is supported.
Boolean: Gets a value indicating whether the device orientation is supported.
Boolean: Gets a value indicating whether shake detection is supported.
Updates sensor information based on the data provided from a web source.
info
Dynamic object containing sensor support information.
This method expects the 'info' parameter to have properties matching the sensor names, and their values should be strings that can be parsed to booleans.