GeolocationRequest 类

定义

表示位置请求的条件。

public ref class GeolocationRequest
public class GeolocationRequest
type GeolocationRequest = class
Public Class GeolocationRequest
继承
GeolocationRequest

构造函数

GeolocationRequest()

使用默认选项初始化 GeolocationRequest 类的新实例。

GeolocationRequest(GeolocationAccuracy)

以指定的准确性初始化 类的新实例 GeolocationRequest

GeolocationRequest(GeolocationAccuracy, TimeSpan)

使用指定的准确度和超时初始化 类的新实例 GeolocationRequest

属性

DesiredAccuracy

获取或设置结果位置的所需准确性。

RequestFullAccuracy

获取或设置是否请求完全权限以完全准确地临时使用位置服务。

Timeout

获取或设置位置请求超时。

方法

ToString()

返回 的当前值的 GeolocationRequest字符串表示形式。

适用于