Create and Confirm Geofence
A 4-step recipe with Microsoft Windows 10. We can help you get access.
Recipe · 4 steps
Create and Confirm Geofence
with Microsoft Windows 10
Resolve location access then create and confirm a circular geofence.
- Check location access. If already allowed, proceed directly to creating the geofence; otherwise request access first.
- Request location access when it was not already allowed, and confirm the resulting status.
- Create a circular geofence with the supplied center, radius, and dwell time, monitoring entered and exited states.
- List active geofences to confirm the newly created geofence is registered.
What you'll need to have ready
- geofenceId: Unique identifier for the geofence.
- latitude: Center latitude of the geofence.
- longitude: Center longitude of the geofence.
- radiusInMeters: Radius of the geofence in meters.
- dwellTimeInSeconds: Dwell time in seconds before the geofence triggers.
For your developer
Arazzo workflow microsoft-windows-10:create-geofence, 4 operations: getGeolocationAccess → requestGeolocationAccess → createGeofence → listGeofences. Specs on APIs.io.