GeofenceState Enum

Definition

Indicates the current state of a Geofence.

This enumeration supports a bitwise combination of its member values.

public enum class GeofenceState
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class GeofenceState
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum GeofenceState
var value = Windows.Devices.Geolocation.Geofencing.GeofenceState.none
Public Enum GeofenceState
Inheritance
GeofenceState
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
location

Fields

Entered 1

The device has entered the geofence area.

Exited 2

The device has left the geofence area.

None 0

No flag is set.

Removed 4

The geofence was removed.

Applies to

See also