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
-
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
Xamarin.Essentials
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla