public MotionActivityManagerImpl() { this.vehicle = new InVehicleActivityDetector(); this.walking = new WalkingActivityDetector(); this.running = new RunningActivityDetector(); this.stationary = new StationaryActivityDetector(); }
/// <summary> /// Constructor of WalkingActivityDetectorAdapter. /// </summary> public WalkingActivityDetectorAdapter() { sensor = new WalkingActivityDetector { Interval = 100, PausePolicy = SensorPausePolicy.None }; }