Microsoft Windows 10 · Arazzo Workflow
Microsoft Windows 10 Geolocation Access and Current Position
Version 1.0.0
Check location permission, request it when unspecified, and then read the device's current geographic position.
Provider
Workflows
get-position-with-access
Resolve geolocation access then read the current geographic position.
Checks the current geolocation access status, requests access when it is unspecified, and reads the current Geoposition with the requested accuracy.
1
checkAccess
getGeolocationAccess
Check the current geolocation access status. If it is already Allowed, skip ahead to reading the position; otherwise request access.
2
requestAccess
requestGeolocationAccess
Prompt the user to grant location access when it was not already allowed, and confirm the resulting access status.
3
getPosition
getCurrentPosition
Read the current geographic position once access is allowed, capturing the coordinate, accuracy, timestamp, and position source.