共用方式為


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字串表示。

適用於