callSetLocalRTC method

Future<void> callSetLocalRTC(
  1. bool local_rtc,
  2. bool fix_system,
  3. bool interactive, {
  4. bool noAutoStart = false,
  5. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.timedate1.SetLocalRTC()

Implementation

Future<void> callSetLocalRTC(
  bool local_rtc,
  bool fix_system,
  bool interactive, {
  bool noAutoStart = false,
  bool allowInteractiveAuthorization = false,
}) async {
  await callMethod(
    'org.freedesktop.timedate1',
    'SetLocalRTC',
    [
      DBusBoolean(local_rtc),
      DBusBoolean(fix_system),
      DBusBoolean(interactive),
    ],
    replySignature: DBusSignature(''),
    noAutoStart: noAutoStart,
    allowInteractiveAuthorization: allowInteractiveAuthorization,
  );
}