Share via


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

Name Description
GeolocationRequest()

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

GeolocationRequest(GeolocationAccuracy, TimeSpan)

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

GeolocationRequest(GeolocationAccuracy)

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

Properties

Name Description
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

Name Description
ToString()

Returns a string representation of the current values of GeolocationRequest.

Applies to