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