次の方法で共有


GeolocationListeningRequest クラス

定義

位置情報をリッスンするための要求オプション

public ref class GeolocationListeningRequest
public class GeolocationListeningRequest
type GeolocationListeningRequest = class
Public Class GeolocationListeningRequest
継承
GeolocationListeningRequest

コンストラクター

GeolocationListeningRequest()

既定値を使用して新しい要求オブジェクトを作成します

GeolocationListeningRequest(GeolocationAccuracy)

指定した精度で新しい要求オブジェクトを作成します。

GeolocationListeningRequest(GeolocationAccuracy, TimeSpan)

指定された精度と最小時間で新しい要求オブジェクトを作成します。

プロパティ

DesiredAccuracy

送信される場所の更新に必要な最小精度。 この精度を満たしていない場所は、イベント ハンドラーを使用して送信されません。

MinimumTime

場所の更新が送信されるまでの最小時間。 この値は正である必要があります。 ほとんどの位置センサーは、1 秒未満の間隔で場所を返さない場合があります。

適用対象