| urfkill Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Implemented Interfaces | Properties | Signals | ||||
org.freedesktop.URfkill.Deviceorg.freedesktop.URfkill.Device — Device interface |
Objects implementing org.freedesktop.URfkill.Device also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
'index' read 'u' 'type' read 'u' 'name' read 's' 'soft' read 'b' 'hard' read 'b' 'platform' read 'b'
Objects implementing this interface are usually discovered through
the org.freedesktop.URfkill interface on
the /org/freedesktop/URfkill object on
the D-Bus system bus service with the well-known
name org.freedesktop.URfkill using
the
EnumerateDevices
method.
$ dbus-send --print-reply \
--system \
--dest=org.freedesktop.URfkill \
/org/freedesktop/URfkill/devices/0 \
org.freedesktop.DBus.Properties.GetAll \
string:org.freedesktop.URfkill.Device
method return sender=:1.164 -> dest=:1.169 reply_serial=2
array [
dict entry(
string "index"
variant uint32 0
)
dict entry(
string "type"
variant uint32 2
)
dict entry(
string "name"
variant string "tpacpi_bluetooth_sw"
)
dict entry(
string "soft"
variant boolean true
)
dict entry(
string "hard"
variant boolean true
)
]
The index of the rfkill device
The type of the rfkill device
The name of the rfkill device
Whether the soft block of the device is on or not
Whether the hard block of the device is on or not
Whether the device is generated by a platform driver or not