DBusInterfaceMethodCallFunc

typealias DBusInterfaceMethodCallFunc = (connection: DBusConnection, sender: String, objectPath: String, interfaceName: String, methodName: String, <Error class: unknown class>, invocation: DBusMethodInvocation) -> Unit

The type of the @method_call function in #GDBusInterfaceVTable.

  • param connection A #GDBusConnection.

  • param sender The unique bus name of the remote caller.

  • param objectPath The object path that the method was invoked on.

  • param interfaceName The D-Bus interface name the method was invoked on.

  • param methodName The name of the method that was invoked.

  • param parameters A #GVariant tuple with parameters.

  • param invocation A #GDBusMethodInvocation object that must be used to return a value or error.