GeolocationRequest

Wisej.Hybrid.Shared.Geolocation.GeolocationRequest

Namespace: Wisej.Hybrid.Shared.Geolocation

Assembly: Wisej.Hybrid (3.5.0.0)

Represents the criteria for a location request.

public class GeolocationRequest

Constructors

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

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

NameTypeDescription

accuracy

The desired accuracy for determining the location.

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

NameTypeDescription

accuracy

The desired accuracy for determining the location.

timeout

A timeout value after which the location determination will be cancelled.

Properties

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

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.

TimeSpan: Gets or sets the location request timeout.

Last updated