Skip to main content

GeolocationRequest

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (4.1.0.0)

Represents the criteria for a location request.

public class GeolocationRequest

Constructors​

Instance member GeolocationRequest()​

Initializes a new instance of the GeolocationRequest class with default options.

Instance member GeolocationRequest(accuracy)​

Initializes a new instance of the GeolocationRequest class with the specified accuracy.

NameTypeDescription
accuracyGeolocationAccuracyThe desired accuracy for determining the location.

Instance member GeolocationRequest(accuracy, timeout)​

Initializes a new instance of the GeolocationRequest class with the specified accuracy and timeout.

NameTypeDescription
accuracyGeolocationAccuracyThe desired accuracy for determining the location.
timeoutTimeSpanA timeout value after which the location determination will be cancelled.

Properties​

Instance member DesiredAccuracy​

GeolocationAccuracy: Gets or sets the desired accuracy of the resulting location.

Instance member RequestFullAccuracy​

Boolean: Gets or sets whether to request full permission to temporarily use location services with full accuracy.

This value is only used on iOS 14+. Using this functionality requires the NSLocationTemporaryUsageDescriptionDictionary key to be present in the info.plist file.

Instance member Timeout​

TimeSpan: Gets or sets the location request timeout.