GeolocationRequest Constructors
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.
Overloads
GeolocationRequest() |
Creates a new instance of GeolocationRequest. |
GeolocationRequest(GeolocationAccuracy) |
Creates a new instance of GeolocationRequest with the specified accuracy. |
GeolocationRequest(GeolocationAccuracy, TimeSpan) |
Creates a new instance of GeolocationRequest with the specified accuracy and timeout. |
GeolocationRequest()
Creates a new instance of GeolocationRequest.
public GeolocationRequest ();
Applies to
GeolocationRequest(GeolocationAccuracy)
Creates a new instance of GeolocationRequest with the specified accuracy.
public GeolocationRequest (Xamarin.Essentials.GeolocationAccuracy accuracy);
Parameters
- accuracy
- GeolocationAccuracy
The desired accuracy.
Applies to
GeolocationRequest(GeolocationAccuracy, TimeSpan)
Creates a new instance of GeolocationRequest with the specified accuracy and timeout.
public GeolocationRequest (Xamarin.Essentials.GeolocationAccuracy accuracy, TimeSpan timeout);
Parameters
- accuracy
- GeolocationAccuracy
The desired accuracy.
- timeout
- System.TimeSpan
The request timeout.