DBusInterfaceMethodCallFunc
Description:
[ Version ( since = "2.26" ) ]
public delegate void DBusInterfaceMethodCallFunc (DBusConnection connection, string? sender, string object_path, string? interface_name, string method_name, Variant parameters, owned DBusMethodInvocation invocation)
The type of the method_call function in DBusInterfaceVTable.
interface_name may be `NULL` if not specified by the sender, although it’s encouraged for the sender to set it. If unset, and
the object has only one method (across all interfaces) matching method_name, that method is invoked. Otherwise, behaviour is
implementation defined. See the
D-Bus specification. It is
recommended to return [error@Gio.DBusError.UNKNOWN_METHOD].
Parameters:
| connection | |
| sender |
The unique bus name of the remote caller, or `NULL` if not specified by the caller, e.g. on peer-to-peer connections. |
| object_path |
The object path that the method was invoked on. |
| interface_name |
The D-Bus interface name the method was invoked on, or `NULL` if not specified by the sender. |
| method_name |
The name of the method that was invoked. |
| parameters |
A Variant tuple with parameters. |
| invocation |
A DBusMethodInvocation object that must be used to return a value or error. |
| user_data |
The |