pub type GDBusInterfaceMethodCallFunc = Option<unsafe extern "C" fn(connection: *mut GDBusConnection, sender: *const gchar, object_path: *const gchar, interface_name: *const gchar, method_name: *const gchar, parameters: *mut GVariant, invocation: *mut GDBusMethodInvocation, user_data: gpointer)>;
Expand description
GDBusInterfaceMethodCallFunc: @connection: A #GDBusConnection. @sender: The unique bus name of the remote caller. @object_path: The object path that the method was invoked on. @interface_name: The D-Bus interface name the method was invoked on. @method_name: The name of the method that was invoked. @parameters: A #GVariant tuple with parameters. @invocation: (transfer full): A #GDBusMethodInvocation object that must be used to return a value or error. @user_data: The @user_data #gpointer passed to g_dbus_connection_register_object().
The type of the @method_call function in #GDBusInterfaceVTable.
Since: 2.26
Aliased Type§
enum GDBusInterfaceMethodCallFunc {
None,
Some(unsafe extern "C" fn(*mut _GDBusConnection, *const i8, *const i8, *const i8, *const i8, *mut _GVariant, *mut _GDBusMethodInvocation, *mut c_void)),
}