Expand description
location capability module — GPS/location access (host-delegated).
Functions: current.
Location access is host-delegated — the runtime host reads actual device
sensors via env.host_call(cap_id=3, fn_id=1, payload). This module
validates arguments and returns a CapabilityCall error to signal the
caller to route the call to the host.
§Cap ID / Fn ID Mapping
| fn_id | Function |
|---|---|
| 1 | current |
Structs§
- Location
Module - The
locationcapability module.