Expand description
Types used to request geographic position data from the embedding layer.
Structs§
- Geolocation
Error - A failure to acquire a position, as reported by the embedding layer.
- Geolocation
Position Data - A position acquired from the underlying system.
- Geolocation
Request Options - Hints about how a position should be acquired.
- Geolocation
Watch Id - Identifies a single ongoing watchPosition() subscription. A subscription lives as long as the Document that started it, so the identifier is scoped to a pipeline rather than being globally unique.
Enums§
- Geolocation
Error Kind - The reason a position could not be acquired. These map directly onto the constants of
GeolocationPositionError.
Type Aliases§
- Geolocation
Result - The reply sent back to script for a one-shot position request, or for each update of an ongoing watch.