dbus: use the annotations for documentation
[NetworkManager.git] / introspection / nm-device-bt.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
4   <interface name="org.freedesktop.NetworkManager.Device.Bluetooth">
5
6     <property name="HwAddress" type="s" access="read">
7       <annotation name="org.gtk.GDBus.DocString" value="
8         Bluetooth hardware address of the device.
9       " />
10     </property>
11
12     <property name="Name" type="s" access="read">
13       <annotation name="org.gtk.GDBus.DocString" value="
14         Bluetooth name of the device.
15       " />
16     </property>
17
18     <property name="BtCapabilities" type="u" access="read" tp:type="NM_BT_CAPABILITIES">
19       <annotation name="org.gtk.GDBus.DocString" value="
20         Bluetooth capabilities of the device (either DUN or NAP).
21       " />
22     </property>
23
24     <signal name="PropertiesChanged">
25         <arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
26             <annotation name="org.gtk.GDBus.DocString" value="
27                 A dictionary mapping property names to variant boxed values
28             " />
29         </arg>
30     </signal>
31
32     <tp:flags name="NM_BT_CAPABILITIES" value-prefix="NM_BT_CAPABILITY" type="u">
33       <annotation name="org.gtk.GDBus.DocString" value="
34         Flags describing the capabilities of a Bluetooth device.
35       " />
36       <tp:flag suffix="NONE" value="0x0">
37         <annotation name="org.gtk.GDBus.DocString" value="The device has no recognized capabilities." />
38       </tp:flag>
39       <tp:flag suffix="DUN" value="0x1">
40         <annotation name="org.gtk.GDBus.DocString" value="The device supports Bluetooth Dial-Up Networking." />
41       </tp:flag>
42       <tp:flag suffix="PAN" value="0x2">
43         <annotation name="org.gtk.GDBus.DocString" value="The device supports Bluetooth Personal Area Networking." />
44       </tp:flag>
45     </tp:flags>
46
47   </interface>
48 </node>