Skip to main content

Module location

Module location 

Source
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_idFunction
1current

Structs§

LocationModule
The location capability module.