GeofenceState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
None | 0 | No flag is set. |
Entered | 1 | The device has entered the geofence area. |
Exited | 2 | The device has left the geofence area. |
Removed | 4 | The geofence was removed. |