UPowerKbdBacklight class
Keyboard backlight settings
Constructors
- UPowerKbdBacklight(DBusClient bus)
Properties
-
brightnessChanged
→ Stream<
int> -
no setter
-
brightnessChangedWithSource
→ Stream<
UPowerKbdBacklightChange> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBrightness(
) → Future< int> - Get the current keyboard backlight brightness level.
-
getMaxBrightness(
) → Future< int> - Get the maximum keyboard backlight brightness level.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBrightness(
int brightness) → Future< void> - Set the keyboard backlight brightness level. The value is between 0 (off) and the value returned in getMaxBrightness.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited