call

open fun call(busName: String? = null, objectPath: String, interfaceName: String, methodName: String, parameters: <Error class: unknown class>? = null, replyType: <Error class: unknown class>? = null, flags: DBusCallFlags, timeoutMsec: Int, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Asynchronously invokes the @method_name method on the

Since

2.26

Parameters

busName

a unique or well-known bus name or null if @connection is not a message bus connection

objectPath

path of remote object

interfaceName

D-Bus interface to invoke method on

methodName

the name of the method to invoke

parameters

a #GVariant tuple with parameters for the method or null if not passing parameters

replyType

the expected type of the reply (which will be a tuple), or null

flags

flags from the #GDBusCallFlags enumeration

timeoutMsec

the timeout in milliseconds, -1 to use the default timeout or %G_MAXINT for no 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