| urfkill Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Implemented Interfaces | Properties | Signals | ||||
org.freedesktop.URfkill.Killswitchorg.freedesktop.URfkill.Killswitch — Killswitch interface |
Objects implementing org.freedesktop.URfkill.Killswitch also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
Objects implementing this interface represent different types
of killswitches and are discovered through the
org.freedesktop.URfkill.Killswitch interface
on the /org/freedesktop/URfkill/TYPENAME
object on the D-Bus system bus service with the well-known
name org.freedesktop.URfkill. The TYPENAME
could be "WLAN", "BLUETOOTH",
"UWB", "WIMAX",
"WWAN", "GPS", or
"FM".
$ dbus-send --print-reply \
--system \
--dest=org.freedesktop.URfkill \
/org/freedesktop/URfkill/WLAN \
org.freedesktop.DBus.Properties.GetAll \
string:"org.freedesktop.URfkill.Killswitch"
method return sender=:1.144 -> dest=:1.154 reply_serial=2
array [
dict entry(
string "state"
variant int32 2
)
]