org.freedesktop.GeoClue2.Agent

org.freedesktop.GeoClue2.Agent — The GeoClue agent interface

Methods

AuthorizeApp (IN  s desktop_id,
              OUT b authorized);

Description

This is the interface all application-authorizing agents must implement. There must be a separate agent object for every logged-in user on path "/org/freedesktop/GeoClue2/Agent/${UID}".

Method Details

The AuthorizeApp() method

AuthorizeApp (IN  s desktop_id,
              OUT b authorized);

This is the method that will be called by geoclue to get applications authorized to be given location information.

IN s desktop_id:

The desktop file id (the basename of the desktop file) of the application requesting location information.

OUT b authorized:

Return value indicating if application should be given location information or not.