Expand description
Location, as an app’s process holds it: the device’s answer, which the host asks through the
device’s own action (devices/<device>/location#locate) and installs here.
The platform’s location service belongs to the device, not to an app: a sandboxed process
speaks to no D-Bus and reaches no portal. A host that can ask the device installs a
LocationProvider with crate::process::ProcessServices::with_location; without one the
process answers that location is not available here, never a made-up position.
Enums§
- Location
Outcome - What one request for the device’s position answered.
Traits§
- Location
Provider - Where the device’s position comes from in this process: the host’s provider, or nothing.
Functions§
- request_
location - Ask the current process’s location service for a fix.
- unavailable
- A provider that answers nothing: a process its host gave no way to reach the device’s location.
Type Aliases§
- Location
Channel - The answer a request for a fix arrives on.