public SingleSensor(SensorManager sensorManager, Android.Hardware.Sensor droidSensor) { this.DroidSensor = droidSensor; this._SensorManager = sensorManager; _Registered = false; _LatestUpdatedDataDateTime = DateTime.Now; UpdateTimestep = 15; }
public VelocitySensor(SensorManager sensorManager) { this.sensorManager = sensorManager; Activated = false; _LatestUpdatedDataDateTime = DateTime.Now; linearAcceleration = sensorManager._DroidSensorManager.GetDefaultSensor(Android.Hardware.SensorType.LinearAcceleration); UpdateTimestep = 15; previousProcessDataTime = DateTime.Now; }