listQueuedOwners method

Future<List<String>> listQueuedOwners(
  1. String name
)

Lists the unique bus names of the clients queued to own the well-known bus name.

Implementation

Future<List<String>> listQueuedOwners(String name) async {
  var result = await callMethod(
      destination: 'org.freedesktop.DBus',
      path: DBusObjectPath('/org/freedesktop/DBus'),
      interface: 'org.freedesktop.DBus',
      name: 'ListQueuedOwners',
      values: [DBusString(name)],
      replySignature: DBusSignature('as'));
  return result.returnValues[0].asStringArray().toList();
}