MonitoredGeofenceStates MonitoredGeofenceStates MonitoredGeofenceStates MonitoredGeofenceStates Enum

Definition

Indicates the state or states of the Geofences that are currently being monitored by the system.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class MonitoredGeofenceStatespublic enum MonitoredGeofenceStatesPublic Enum MonitoredGeofenceStates// You can use this enum in JavaScript.
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

Fields

Entered Entered Entered Entered

The device has entered a geofence area.

Exited Exited Exited Exited

The device has left a geofence area.

None None None None

No flag is set.

Removed Removed Removed Removed

The geofence has been removed.

Remarks

You must specify the Entered or Exited states, or both, for a geofence to be monitored. It is not possible to create a geofence that only monitors the Removed state.