Top |
AuthorizeApp (IN s desktop_id, IN u req_accuracy_level, OUT b authorized, OUT u allowed_accuracy_level);
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".
AuthorizeApp (IN s desktop_id, IN u req_accuracy_level, OUT b authorized, OUT u allowed_accuracy_level);
This is the method that will be called by geoclue to get applications authorized to be given location information.
|
The desktop file id (the basename of the desktop file) of the application requesting location information. |
|
The level of location accuracy requested by client, as GClueAccuracyLevel. |
|
Return value indicating if application should be given location information or not. |
|
The level of location accuracy allowed for client, as GClueAccuracyLevel. |
MaxAccuracyLevel readable u
The global maximum level of accuracy allowed for all clients. Since agents are per-user, this can be different for each user. See GClueAccuracyLevel for possible values.