共用方式為


GeolocationListeningRequest 類別

定義

接聽地理位置的要求選項

public ref class GeolocationListeningRequest
public class GeolocationListeningRequest
type GeolocationListeningRequest = class
Public Class GeolocationListeningRequest
繼承
GeolocationListeningRequest

建構函式

GeolocationListeningRequest()

使用預設值建立新的要求物件

GeolocationListeningRequest(GeolocationAccuracy)

建立具有指定精確度的新要求物件。

GeolocationListeningRequest(GeolocationAccuracy, TimeSpan)

建立具有指定精確度和最小時間的新要求物件。

屬性

DesiredAccuracy

所傳送位置更新所需的最小精確度。 不符合此精確度的位置不會使用事件處理程式傳送。

MinimumTime

傳送位置更新之間的最短時間。 這個值必須是正數。 大部分的位置感測器可能不會以小於 1 秒的間隔傳回位置。

適用於