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

$ 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
      )
   ]
            

Details

Signal Details

The StateChanged signal

StateChanged ()

Emitted when the state of the killswitch changed.

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.