次の方法で共有


GeolocationRequest コンストラクター

定義

オーバーロード

GeolocationRequest()

GeolocationRequest クラスの新しいインスタンスを既定のオプションで初期化します。

GeolocationRequest(GeolocationAccuracy)

指定した精度でクラスの GeolocationRequest 新しいインスタンスを初期化します。

GeolocationRequest(GeolocationAccuracy, TimeSpan)

指定した精度とタイムアウトを使用して GeolocationRequest 、クラスの新しいインスタンスを初期化します。

GeolocationRequest()

ソース:
GeolocationRequest.shared.cs
ソース:
GeolocationRequest.shared.cs

GeolocationRequest クラスの新しいインスタンスを既定のオプションで初期化します。

public:
 GeolocationRequest();
public GeolocationRequest ();
Public Sub New ()

適用対象

GeolocationRequest(GeolocationAccuracy)

ソース:
GeolocationRequest.shared.cs
ソース:
GeolocationRequest.shared.cs

指定した精度でクラスの GeolocationRequest 新しいインスタンスを初期化します。

public:
 GeolocationRequest(Microsoft::Maui::Devices::Sensors::GeolocationAccuracy accuracy);
public GeolocationRequest (Microsoft.Maui.Devices.Sensors.GeolocationAccuracy accuracy);
new Microsoft.Maui.Devices.Sensors.GeolocationRequest : Microsoft.Maui.Devices.Sensors.GeolocationAccuracy -> Microsoft.Maui.Devices.Sensors.GeolocationRequest
Public Sub New (accuracy As GeolocationAccuracy)

パラメーター

accuracy
GeolocationAccuracy

場所を決定するための必要な精度。

適用対象

GeolocationRequest(GeolocationAccuracy, TimeSpan)

ソース:
GeolocationRequest.shared.cs
ソース:
GeolocationRequest.shared.cs

指定した精度とタイムアウトを使用して GeolocationRequest 、クラスの新しいインスタンスを初期化します。

public:
 GeolocationRequest(Microsoft::Maui::Devices::Sensors::GeolocationAccuracy accuracy, TimeSpan timeout);
public GeolocationRequest (Microsoft.Maui.Devices.Sensors.GeolocationAccuracy accuracy, TimeSpan timeout);
new Microsoft.Maui.Devices.Sensors.GeolocationRequest : Microsoft.Maui.Devices.Sensors.GeolocationAccuracy * TimeSpan -> Microsoft.Maui.Devices.Sensors.GeolocationRequest
Public Sub New (accuracy As GeolocationAccuracy, timeout As TimeSpan)

パラメーター

accuracy
GeolocationAccuracy

場所を決定するための必要な精度。

timeout
TimeSpan

場所の決定が取り消されるタイムアウト値。

適用対象