Documentation ¶
Index ¶
- type AirplaneModeState
- type Manager
- func (m *Manager) DumpState() *dbus.Error
- func (m *Manager) Enable(sender dbus.Sender, enabled bool) *dbus.Error
- func (m *Manager) EnableBluetooth(sender dbus.Sender, enabled bool) *dbus.Error
- func (m *Manager) EnableWifi(sender dbus.Sender, enabled bool) *dbus.Error
- func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods
- func (m *Manager) GetInterfaceName() string
- type Module
- type RfkillDev
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AirplaneModeState ¶
type Manager ¶
type Manager struct { PropsMu sync.RWMutex Enabled bool WifiEnabled bool BluetoothEnabled bool // contains filtered or unexported fields }
func (*Manager) EnableBluetooth ¶
func (*Manager) EnableWifi ¶
func (*Manager) GetExportedMethods ¶
func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods
func (*Manager) GetInterfaceName ¶
type Module ¶
type Module struct { *loader.ModuleBase // contains filtered or unexported fields }
func (*Module) GetDependencies ¶
func (*Module) WaitEnable ¶
func (m *Module) WaitEnable()
Click to show internal directories.
Click to hide internal directories.