GeolocationRequest 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GeolocationRequest() |
建立 GeolocationRequest 的新實例。 |
GeolocationRequest(GeolocationAccuracy) |
使用指定的精確度,建立 GeolocationRequest 的新實例。 |
GeolocationRequest(GeolocationAccuracy, TimeSpan) |
使用指定的精確度和逾時,建立 GeolocationRequest 的新實例。 |
GeolocationRequest()
建立 GeolocationRequest 的新實例。
public GeolocationRequest ();
適用於
GeolocationRequest(GeolocationAccuracy)
使用指定的精確度,建立 GeolocationRequest 的新實例。
public GeolocationRequest (Xamarin.Essentials.GeolocationAccuracy accuracy);
參數
- accuracy
- GeolocationAccuracy
所需的精確度。
適用於
GeolocationRequest(GeolocationAccuracy, TimeSpan)
使用指定的精確度和逾時,建立 GeolocationRequest 的新實例。
public GeolocationRequest (Xamarin.Essentials.GeolocationAccuracy accuracy, TimeSpan timeout);
參數
- accuracy
- GeolocationAccuracy
所需的精確度。
- timeout
- System.TimeSpan
要求逾時。