BuildItArSample.UWP.MainPage.Geolocator_PositionChanged C# (CSharp) Method

Geolocator_PositionChanged() private method

private Geolocator_PositionChanged ( Geolocator sender, PositionChangedEventArgs args ) : void
sender Windows.Devices.Geolocation.Geolocator
args Windows.Devices.Geolocation.PositionChangedEventArgs
return void
        private void Geolocator_PositionChanged(Geolocator sender, PositionChangedEventArgs args)
        {
            Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => UpdateLocation(args.Position));
        }