Geofence.MonitoredStates Property
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:
property MonitoredGeofenceStates MonitoredStates { MonitoredGeofenceStates get(); };
MonitoredGeofenceStates MonitoredStates();
public MonitoredGeofenceStates MonitoredStates { get; }
var monitoredGeofenceStates = geofence.monitoredStates;
Public ReadOnly Property MonitoredStates As MonitoredGeofenceStates
Property Value
The states that the geofence is being monitored for.
Windows requirements
App capabilities |
location
|
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.