Geofence Geofence Geofence Geofence Geofence Class
Definition
Contains the functionality to define a geofence (a geographical area of interest) to monitor.
public : sealed class Geofence
struct winrt::Windows::Devices::Geolocation::Geofencing::Geofence
public sealed class Geofence
Public NotInheritable Class Geofence
var geofence = new geofence(id, geoshape);
- Attributes
Windows 10 requirements
Device family |
Windows 10 (introduced v10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Capabilities |
location
|
Constructors
Properties
Duration Duration Duration Duration Duration |
Gets the time window, beginning after the StartTime, during which the Geofence is monitored. |
DwellTime DwellTime DwellTime DwellTime DwellTime |
The minimum time that a position has to be inside or outside of the Geofence in order for the notification to be triggered. |
Geoshape Geoshape Geoshape Geoshape Geoshape |
The shape of the geofence region. |
Id Id Id Id Id |
The id of the Geofence. |
MonitoredStates MonitoredStates MonitoredStates MonitoredStates MonitoredStates |
Indicates the states that the Geofence is being monitored for. |
SingleUse SingleUse SingleUse SingleUse SingleUse |
Indicates whether the Geofence should be triggered once or multiple times. |
StartTime StartTime StartTime StartTime StartTime |
The time to start monitoring the Geofence. |
See also
Feedback
Loading feedback...