1<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
2"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
3
4<!--
5    GeoClue 2.0 Interface Specification
6
7    Copyright 2013 Red Hat, Inc.
8-->
9
10<node>
11
12  <!--
13      org.freedesktop.GeoClue2.Manager:
14      @short_description: The GeoClue service manager
15
16      This is the interface you use to talk to main GeoClue2 manager object at
17      path "/org/freedesktop/GeoClue2/Manager". The only thing you do with this
18      interface is to call org.freedesktop.GeoClue2.Manager.GetClient() on it
19      to get your application specific client object.
20  -->
21  <interface name="org.freedesktop.GeoClue2.Manager">
22    <!--
23        InUse:
24
25        Whether service is currently is use by any application.
26    -->
27    <property name="InUse" type="b" access="read"/>
28
29    <!--
30        AvailableAccuracyLevel:
31
32        The level of available accuracy, as
33        <link linkend="GClueAccuracyLevel">GClueAccuracyLevel</link>.
34    -->
35    <property name="AvailableAccuracyLevel" type="u" access="read"/>
36
37    <!--
38        GetClient:
39        @client: The path for newly created client object
40
41        Retrieves a client object which can only be used by the calling
42        application only.
43    -->
44    <method name="GetClient">
45      <arg name="client" type="o" direction="out"/>
46    </method>
47
48    <!--
49        AddAgent:
50        @id: The Desktop ID (excluding .desktop) of the agent
51
52        An API for user authorization agents to register themselves. Each agent
53        is responsible for the user it is running as. Application developers
54        can and should simply ignore this API.
55    -->
56    <method name="AddAgent">
57      <arg name="id" type="s" direction="in"/>
58    </method>
59  </interface>
60</node>
61