2 instantiations of GeolocationRequest
Microsoft.Maui.Essentials (2)
Geolocation\Geolocation.shared.cs (2)
201
geolocation.GetLocationAsync(new
GeolocationRequest
(), default);
211
geolocation.GetLocationAsync(request ?? new
GeolocationRequest
(), default);
9 references to GeolocationRequest
Microsoft.Maui.Essentials (9)
Geolocation\Geolocation.ios.macos.cs (1)
41
public async Task<Location?> GetLocationAsync(
GeolocationRequest
request, CancellationToken cancellationToken)
Geolocation\Geolocation.shared.cs (4)
31
Task<Location?> GetLocationAsync(
GeolocationRequest
request, CancellationToken cancelToken);
99
public static Task<Location?> GetLocationAsync(
GeolocationRequest
request) =>
109
public static Task<Location?> GetLocationAsync(
GeolocationRequest
request, CancellationToken cancelToken) =>
210
public static Task<Location?> GetLocationAsync(this IGeolocation geolocation,
GeolocationRequest
request) =>
Geolocation\GeolocationRequest.shared.cs (4)
52
/// Initializes a new instance of the <see cref="
GeolocationRequest
"/> class with default options.
61
/// Initializes a new instance of the <see cref="
GeolocationRequest
"/> class with the specified accuracy.
71
/// Initializes a new instance of the <see cref="
GeolocationRequest
"/> class with the specified accuracy and timeout.
98
/// Returns a string representation of the current values of <see cref="
GeolocationRequest
"/>.