GeolocationRequest Class

Definition

Represents the criteria for a location request.

public ref class GeolocationRequest
public class GeolocationRequest
type GeolocationRequest = class
Public Class GeolocationRequest
Inheritance
GeolocationRequest

Constructors

GeolocationRequest()

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

GeolocationRequest(GeolocationAccuracy)

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

GeolocationRequest(GeolocationAccuracy, TimeSpan)

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

Properties

DesiredAccuracy

Gets or sets the desired accuracy of the resulting location.

RequestFullAccuracy

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

Timeout

Gets or sets the location request timeout.

Methods

ToString()

Returns a string representation of the current values of GeolocationRequest.

Applies to