org.freedesktop.URfkill.Killswitch

org.freedesktop.URfkill.Killswitch — Killswitch interface

Methods


Signals

StateChanged ()

Implemented Interfaces

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

Properties

'state' read      'i'

Description

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".

$ gdbus call -y \
             -d org.freedesktop.URfkill \
             -o /org/freedesktop/URfkill/WLAN \
             -m org.freedesktop.DBus.Properties.GetAll \
             "org.freedesktop.URfkill.Killswitch"

({'state': <2>},)
            

Details

Signal Details

The StateChanged signal

StateChanged ()

Emitted when the state of the killswitch changed.

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

Property Details

The "state" property

'state'  read      'i'

The state of the killswitch

  • -1: killswitch is not available.
  • 0: killswitch is unblocked.
  • 1: killswitch is soft-blocked.
  • 2: killswitch is hard-blocked.