class Solid.AcAdapter |
|
|
This device interface is available on A/C adapters. |
|
Creates a new AcAdapter object. You generally won't need this. It's created when necessary using Device.as().
backendObject - the device interface object provided by the backend See also Solid.Device.as() |
|
Get the Solid.DeviceInterface.Type of the AcAdapter device interface. Returns the AcAdapter device interface type See also Solid.Ifaces.Enums.DeviceInterface.Type |
|
Indicates if this A/C adapter is plugged. Returns true if the adapter is plugged, false otherwise |
|
This signal is emitted when the A/C adapter is plugged or unplugged.
newState - true if the A/C adapter is plugged, false otherwise |