call
open fun call(methodName: String, parameters: <Error class: unknown class>? = null, flags: DBusCallFlags, timeoutMsec: Int, cancellable: Cancellable? = null, callback: AsyncReadyCallback)
Asynchronously invokes the @method_name method on @proxy.
If @method_name contains any dots, then @name is split into interface and method name parts. This allows using @proxy for invoking methods on other interfaces.
If the #GDBusConnection associated with @proxy is closed then the operation will fail with %G_IO_ERROR_CLOSED. If
Since
2.26
Parameters
methodName
Name of method to invoke.
parameters
A #GVariant tuple with parameters for the signal or null if not passing parameters.
flags
Flags from the #GDBusCallFlags enumeration.
timeoutMsec
The timeout in milliseconds (with %G_MAXINT meaning "infinite") or -1 to use the proxy default timeout.
cancellable
A #GCancellable or null.
callback
A #GAsyncReadyCallback to call when the request is satisfied or null if you don't care about the result of the method invocation.