callGetBrightness method
Invokes org.freedesktop.UPower.KbdBacklight.GetBrightness()
Implementation
Future<int> callGetBrightness({
bool noAutoStart = false,
bool allowInteractiveAuthorization = false,
}) async {
var result = await callMethod(
'org.freedesktop.UPower.KbdBacklight',
'GetBrightness',
[],
replySignature: DBusSignature('i'),
noAutoStart: noAutoStart,
allowInteractiveAuthorization: allowInteractiveAuthorization,
);
return result.returnValues[0].asInt32();
}