MonitoredGeofenceStates 列挙型

定義

システムによって現在監視されているジオフェンスの状態を示します。

この列挙体は、メンバー値のビットごとの組み合わせをサポートしています。

public enum class MonitoredGeofenceStates
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MonitoredGeofenceStates
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MonitoredGeofenceStates
var value = Windows.Devices.Geolocation.Geofencing.MonitoredGeofenceStates.none
Public Enum MonitoredGeofenceStates
継承
MonitoredGeofenceStates
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)
アプリの機能
location

フィールド

Entered 1

デバイスがジオフェンス領域に入った。

Exited 2

デバイスはジオフェンス領域を残しています。

None 0

フラグは設定されません。

Removed 4

ジオフェンスが削除されました。

注釈

ジオフェンスを監視するには、 Entered または Exited の状態、またはその両方を指定する必要があります。 Removed 状態のみを監視するジオフェンスを作成することはできません。

適用対象

こちらもご覧ください