callGetLocalServiceCookie method

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

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

Implementation

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