callGetState method

Future<int> callGetState({
  1. bool noAutoStart = false,
  2. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.Avahi.Server.GetState()

Implementation

Future<int> callGetState(
    {bool noAutoStart = false,
    bool allowInteractiveAuthorization = false}) async {
  var result = await callMethod(
      'org.freedesktop.Avahi.Server', 'GetState', [],
      replySignature: DBusSignature('i'),
      noAutoStart: noAutoStart,
      allowInteractiveAuthorization: allowInteractiveAuthorization);
  return (result.returnValues[0] as DBusInt32).value;
}