Exemple #1
0
 public SingleSensor(SensorManager sensorManager, Android.Hardware.Sensor droidSensor)
 {
     this.DroidSensor           = droidSensor;
     this._SensorManager        = sensorManager;
     _Registered                = false;
     _LatestUpdatedDataDateTime = DateTime.Now;
     UpdateTimestep             = 15;
 }
Exemple #2
0
 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;
 }