我使用GeoLocator類作爲位置感知應用程序,我希望位置每分鐘更新一次以節省電量。我相應地設置了ReportInverval屬性,但PositionChanged事件更頻繁地觸發。這裏有什麼問題?GeoLocator PositionChanged事件經常被觸發
App.Geolocator = new Geolocator();
App.Geolocator.DesiredAccuracy = PositionAccuracy.High;
App.Geolocator.MovementThreshold = 100;
App.Geolocator.ReportInterval = 1000*60; //report change every minute
App.Geolocator.PositionChanged += geolocator_PositionChanged;