Enums¶
Details¶
- class Urfkill.EnumState(value)¶
Bases:
GLib.Enum
The state of the switch
- NO_ADAPTER = -1¶
switch doesn’t exist
- UNBLOCKED = 0¶
switch is unblocked
- SOFT_BLOCKED = 1¶
switch is soft-blocked.
- HARD_BLOCKED = 2¶
switch is hard-blocked.
- class Urfkill.EnumType(value)¶
Bases:
GLib.Enum
The type of the rfkill device following the definition in <linux/rfkill.h>
- ALL = 0¶
toggles all switches (requests only - not a switch type)
- WLAN = 1¶
switch is on a 802.11 wireless network device.
- BLUETOOTH = 2¶
switch is on a bluetooth device.
- UWB = 3¶
switch is on a ultra wideband device.
- WIMAX = 4¶
switch is on a WiMAX device.
- WWAN = 5¶
switch is on a wireless WAN device.
- GPS = 6¶
switch is on a GPS device.
- FM = 7¶
switch is on a FM radio device.
- NFC = 8¶
switch is on a NFC device.
- NUM = 9¶
number of defined rfkill types