Geolocation
Default
GetLastKnownLocationAsync()
GetLocationAsync()
GetLocationAsync(GeolocationRequest)
GetLocationAsync(GeolocationRequest, CancellationToken)
net7.0
namespace Microsoft.Maui.Devices.Sensors
{
public static class Geolocation
{
public static Task<Location?>! GetLocationAsync(GeolocationRequest! request, CancellationToken cancelToken);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 6.07.0 |
Information specific to net7.0 | |
| Assembly | Microsoft.Maui.Essentials , Version=1.0.0.0, PublicKeyToken= |
| Referencing | Requires all:
|
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API