Top | ![]() |
![]() |
![]() |
![]() |
PhoshLocationManagerPhoshLocationManager — Provides the org.freedesktop.GeoClue2.Agent DBus interface |
GObject ╰── GDBusInterfaceSkeleton ╰── PhoshGeoClueDBusOrgFreedesktopGeoClue2AgentSkeleton ╰── PhoshLocationManager
PhoshLocationManager implements GDBusInterface and PhoshGeoClueDBusOrgFreedesktopGeoClue2Agent.
The PhoshLocationManager provides the agent interface and authorizes clients based on the org.gnome.system.location 'enabled' gsetting. Note the phosh needs to be enabled as agent in geoclue's config.
#define PHOSH_TYPE_LOCATION_MANAGER (phosh_location_manager_get_type ())
“active”
property“active” gboolean
Whether location services are currently active.
Owner: PhoshLocationManager
Flags: Read
Default value: FALSE
“enabled”
property“enabled” gboolean
Whether location services are enabled.
Owner: PhoshLocationManager
Flags: Read / Write
Default value: FALSE