class AcAdapter |
|
This device interface is available on AC 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 AC adapter is plugged.
Returns true if the adapter is plugged, false otherwise |
|
This signal is emitted when the AC adapter is plugged or unplugged.
newState - true if the AC adapter is plugged, false otherwise udi - the UDI of the AC adapter |