callSetTime method

Future<void> callSetTime(
  1. int usec_utc,
  2. bool relative,
  3. bool interactive, {
  4. bool noAutoStart = false,
  5. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.timedate1.SetTime()

Implementation

Future<void> callSetTime(
  int usec_utc,
  bool relative,
  bool interactive, {
  bool noAutoStart = false,
  bool allowInteractiveAuthorization = false,
}) async {
  await callMethod(
    'org.freedesktop.timedate1',
    'SetTime',
    [DBusInt64(usec_utc), DBusBoolean(relative), DBusBoolean(interactive)],
    replySignature: DBusSignature(''),
    noAutoStart: noAutoStart,
    allowInteractiveAuthorization: allowInteractiveAuthorization,
  );
}