callSetNTP method

Future<void> callSetNTP(
  1. bool use_ntp,
  2. bool interactive, {
  3. bool noAutoStart = false,
  4. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.timedate1.SetNTP()

Implementation

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