/// <param name="desiredAccuracy">In meters</param> /// <param name="reportInterval">In milliseconds</param> /// <param name="distanceFilter">In meters</param> /// <param name="stationaryRadius"></param> public GeolocatorWrapper(UInt32 desiredAccuracy, UInt32 reportInterval, double distanceFilter, double stationaryRadius) { _desiredAccuracy = desiredAccuracy; _reportInterval = reportInterval; _distanceFilter = distanceFilter; _stationaryRadius = stationaryRadius; _positionPath = new PositionPath(); _stationaryManager = new StationaryManager(stationaryRadius); }
/// <param name="desiredAccuracy">In meters</param> /// <param name="reportInterval">In milliseconds</param> /// <param name="distanceFilter">In meters</param> /// <param name="stationaryRadius"></param> public GeolocatorWrapper(UInt32 desiredAccuracy, UInt32 reportInterval, double distanceFilter, double stationaryRadius, bool useFixedTimeInterval, UInt32 intervalReportSeconds, UInt32 intervalReportMeters, bool reportTotalTime, bool reportTotalDistance, bool reportAveragePace, bool reportCurrentPace, bool reportAverageSpeed, bool reportCurrentSpeed, bool reportInMiles, List<Notification> notifications) { _desiredAccuracy = desiredAccuracy; _reportInterval = reportInterval; _distanceFilter = distanceFilter; _stationaryRadius = stationaryRadius; _positionPath = new PositionPath(); _stationaryManager = new StationaryManager(stationaryRadius); _useFixedTimeInterval = useFixedTimeInterval; _intervalReportSeconds = intervalReportSeconds; _intervalReportMeters = intervalReportMeters; _reportTotalTime = reportTotalTime; _reportTotalDistance = reportTotalDistance; _reportAveragePace = reportAveragePace; _reportCurrentPace = reportCurrentPace; _reportAverageSpeed = reportAverageSpeed; _reportCurrentSpeed = reportCurrentSpeed; _reportInMiles = reportInMiles; _notifications = notifications; }