capabilities.work

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

Resolve location access then create and confirm a circular geofence.

  1. Check location access. If already allowed, proceed directly to creating the geofence; otherwise request access first.
  2. Request location access when it was not already allowed, and confirm the resulting status.
  3. Create a circular geofence with the supplied center, radius, and dwell time, monitoring entered and exited states.
  4. 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.