GeolocationListeningRequest 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
接聽地理位置的要求選項
public ref class GeolocationListeningRequest
public class GeolocationListeningRequest
type GeolocationListeningRequest = class
Public Class GeolocationListeningRequest
- 繼承
-
GeolocationListeningRequest
建構函式
GeolocationListeningRequest() |
使用預設值建立新的要求物件 |
GeolocationListeningRequest(GeolocationAccuracy) |
建立具有指定精確度的新要求物件。 |
GeolocationListeningRequest(GeolocationAccuracy, TimeSpan) |
建立具有指定精確度和最小時間的新要求物件。 |
屬性
DesiredAccuracy |
所傳送位置更新所需的最小精確度。 不符合此精確度的位置不會使用事件處理程式傳送。 |
MinimumTime |
傳送位置更新之間的最短時間。 這個值必須是正數。 大部分的位置感測器可能不會以小於 1 秒的間隔傳回位置。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應