Top |
GetClient (OUT o client); CreateClient (OUT o client); DeleteClient (IN o client); AddAgent (IN s id);
This is the interface you use to talk to main GeoClue2 manager object at path "/org/freedesktop/GeoClue2/Manager". The only thing you do with this interface is to call GetClient() or CreateClient() on it to get your application specific client object(s).
GetClient (OUT o client);
Retrieves a client object which can only be used by the calling application only. On the first call from a specific D-Bus peer, this method will create the client object but subsequent calls will return the path of the existing client.
|
The path for the client object |
CreateClient (OUT o client);
Creates and retrieves a client object which can only be used by the calling application only. Unlike GetClient(), thid method always creates a new client.
|
The path for the newly created client object |
DeleteClient (IN o client);
Use this method to explicitly destroy a client, created using GetClient() or CreateClient().
Long-running applications, should either use this to delete associated client(s) when not needed, or disconnect from the D-Bus connection used for communicating with Geoclue (which is implicit on client process termination).
|
The path of the client object to delete |
AvailableAccuracyLevel readable u
The level of available accuracy, as GClueAccuracyLevel.