Udostępnij za pośrednictwem


Geolocation Class

Definition

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

public static class Geolocation
Inheritance
System.Object
Geolocation

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.

Applies to