MonitoredGeofenceStates 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 MonitoredGeofenceStates
enum class winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates : uint32_t
public enum MonitoredGeofenceStates
Public Enum MonitoredGeofenceStates
var value = Windows.Devices.Geolocation.Geofencing.MonitoredGeofenceStates.entered;
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 Entered 1

The device has entered a geofence area.

Exited Exited Exited Exited Exited 2

The device has left a geofence area.

None None None None None 0

No flag is set.

Removed Removed Removed Removed Removed 4

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.

See also