Geolocation Class

Definition

Provides a way to get the current location of the device.

public static class Geolocation
Inheritance
Geolocation

Methods

GetLastKnownLocationAsync()

Returns the last known location of the device.

GetLocationAsync()

Returns the current location of the device.

GetLocationAsync(GeolocationRequest)

Returns the current location of the device using the specified criteria.

GetLocationAsync(GeolocationRequest, CancellationToken)

Returns the current location of the device using the specified criteria.

Applies to