共用方式為


GeolocationRequest 建構函式

定義

多載

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

要求逾時。

適用於