Geolocation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a way to get the current location of the device.
public static class Geolocation
- Inheritance
-
System.ObjectGeolocation
Methods
GetLastKnownLocationAsync() |
Returns the last known location of the device. |
GetLocationAsync() |
Returns the current location of the device. |
GetLocationAsync(GeolocationRequest, CancellationToken) |
Returns the current location of the device using the specified criteria. |
GetLocationAsync(GeolocationRequest) |
Returns the current location of the device using the specified criteria. |