/usr/share/dbus-1/interfaces/org.freedesktop.URfkill.Killswitch.xml is in urfkill 0.6.0~20150318.103828.5539c0d.1-0ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | <!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<interface name="org.freedesktop.URfkill.Killswitch">
<doc:doc>
<doc:description>
<doc:para>
Objects implementing this interface represent different types
of killswitches and are discovered through the
<doc:tt>org.freedesktop.URfkill.Killswitch</doc:tt> interface
on the <doc:tt>/org/freedesktop/URfkill/TYPENAME</doc:tt>
object on the D-Bus system bus service with the well-known
name <doc:tt>org.freedesktop.URfkill</doc:tt>. The TYPENAME
could be <doc:tt>"WLAN"</doc:tt>, <doc:tt>"BLUETOOTH"</doc:tt>,
<doc:tt>"UWB"</doc:tt>, <doc:tt>"WIMAX"</doc:tt>,
<doc:tt>"WWAN"</doc:tt>, <doc:tt>"GPS"</doc:tt>,
<doc:tt>"FM"</doc:tt>, or <doc:tt>"NFC"</doc:tt>.
</doc:para>
<doc:para>
<doc:example language="shell" title="simple example">
<doc:code>
$ gdbus call -y \
-d org.freedesktop.URfkill \
-o /org/freedesktop/URfkill/WLAN \
-m org.freedesktop.DBus.Properties.GetAll \
"org.freedesktop.URfkill.Killswitch"
({'state': <2>},)
</doc:code>
</doc:example>
</doc:para>
</doc:description>
</doc:doc>
<signal name="StateChanged">
<doc:doc>
<doc:description>
<doc:para>
Emitted when the state of the killswitch changed.
</doc:para>
<doc:para>
Note: This signal is deprecated since 0.4.0. Use the standard signal,
PropertiesChanged from org.freedesktop.DBus.Properties instead.
</doc:para>
</doc:description>
</doc:doc>
</signal>
<!-- ************************************************************ -->
<property name="state" type="i" access="read">
<doc:doc>
<doc:description>
<doc:para>
The state of the killswitch
</doc:para>
<doc:list>
<doc:item>
<doc:term>-1</doc:term><doc:definition>killswitch is not available.</doc:definition>
</doc:item>
<doc:item>
<doc:term>0</doc:term><doc:definition>killswitch is unblocked.</doc:definition>
</doc:item>
<doc:item>
<doc:term>1</doc:term><doc:definition>killswitch is soft-blocked.</doc:definition>
</doc:item>
<doc:item>
<doc:term>2</doc:term><doc:definition>killswitch is hard-blocked.</doc:definition>
</doc:item>
</doc:list>
</doc:description>
</doc:doc>
</property>
</interface>
</node>
|