GeofenceMonitorStatus 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.
Indicates the current state of a GeofenceMonitor.
public enum class GeofenceMonitorStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class GeofenceMonitorStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum GeofenceMonitorStatus
var value = Windows.Devices.Geolocation.Geofencing.GeofenceMonitorStatus.ready
Public Enum GeofenceMonitorStatus
- Inheritance
-
GeofenceMonitorStatus
- 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 |
---|---|---|
Ready | 0 | The monitor is ready and active. |
Initializing | 1 | The monitor is in the process of initializing. |
NoData | 2 | There is no data on the status of the monitor. |
Disabled | 3 | Access to location is denied. |
NotInitialized | 4 | The geofence monitor has not been initialized. |
NotAvailable | 5 | The geofence monitor is not available. |