GeolocationRequest コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GeolocationRequest() |
GeolocationRequest クラスの新しいインスタンスを既定のオプションで初期化します。 |
GeolocationRequest(GeolocationAccuracy) |
指定した精度でクラスの GeolocationRequest 新しいインスタンスを初期化します。 |
GeolocationRequest(GeolocationAccuracy, TimeSpan) |
指定した精度とタイムアウトを使用して GeolocationRequest 、クラスの新しいインスタンスを初期化します。 |
GeolocationRequest()
GeolocationRequest クラスの新しいインスタンスを既定のオプションで初期化します。
public:
GeolocationRequest();
public GeolocationRequest ();
Public Sub New ()
適用対象
GeolocationRequest(GeolocationAccuracy)
指定した精度でクラスの 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 、クラスの新しいインスタンスを初期化します。
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
場所の決定が取り消されるタイムアウト値。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI