callMethod method
Invokes a method on this object. Throws DBusMethodResponseException if the remote side returns an error.
If replySignature
is provided this causes this method to throw a
DBusReplySignatureException if the result is successful but the returned
values do not match the provided signature.
Throws DBusServiceUnknownException if there is the requested service is not available.
Throws DBusUnknownObjectException if this object is not available.
Throws DBusUnknownInterfaceException if interface
is not provided by this object.
Throws DBusUnknownMethodException if the method with name
is not available.
Throws DBusInvalidArgsException if args
aren't correct.
Implementation
Future<DBusMethodSuccessResponse> callMethod(
String? interface, String name, Iterable<DBusValue> values,
{DBusSignature? replySignature,
bool noReplyExpected = false,
bool noAutoStart = false,
bool allowInteractiveAuthorization = false}) async {
return client.callMethod(
destination: this.name,
path: path,
interface: interface,
name: name,
values: values,
replySignature: replySignature,
noReplyExpected: noReplyExpected,
noAutoStart: noAutoStart,
allowInteractiveAuthorization: allowInteractiveAuthorization);
}