org.freedesktop.URfkill.Device

org.freedesktop.URfkill.Device — Device interface

Methods


Signals

Changed ()

Implemented Interfaces

Objects implementing org.freedesktop.URfkill.Device also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties

Properties

'index'    read      'u'
'type'     read      'u'
'name'     read      's'
'soft'     read      'b'
'hard'     read      'b'
'platform' read      'b'

Description

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.

$ gdbus call -y \
             -d org.freedesktop.URfkill \
             -o /org/freedesktop/URfkill/devices/0 \
             -m org.freedesktop.DBus.Properties.GetAll \
             "org.freedesktop.URfkill.Device"

({'index': <uint32 0>, 'type': <uint32 2>, 'name': <'tpacpi_bluetooth_sw'>, 'soft': <true>, 'hard': <true>, 'platform': <true>},)
            

Details

Signal Details

The Changed signal

Changed ()

Emitted when a property of the device is changed.

Note: This signal is deprecated since 0.4.0. Use the standard signal, PropertiesChanged from org.freedesktop.DBus.Properties instead.

Property Details

The "index" property

'index'  read      'u'

The index of the rfkill device


The "type" property

'type'  read      'u'

The type of the rfkill device

  • 0: All
  • 1: WLAN
  • 2: Bluetooth
  • 3: UWB
  • 4: WIMAX
  • 5: WWAN
  • 6: GPS
  • 7: FM

The "name" property

'name'  read      's'

The name of the rfkill device


The "soft" property

'soft'  read      'b'

Whether the soft block of the device is on or not


The "hard" property

'hard'  read      'b'

Whether the hard block of the device is on or not


The "platform" property

'platform'  read      'b'

Whether the device is generated by a platform driver or not