DBusInterfaceGetPropertyFunc


Description:

[ CCode ( error_pos = 5.8 , instance_pos = 5.9 ) ]
[ Version ( since = "2.26" ) ]
public delegate Variant DBusInterfaceGetPropertyFunc (DBusConnection connection, string sender, string object_path, string interface_name, string property_name) throws Error

The type of the get_property function in DBusInterfaceVTable.

Parameters:

connection

A DBusConnection.

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 for the property.

property_name

The name of the property to get the value of.

error

Return location for error.

user_data

The user_data pointer passed to register_object.

Returns:

A Variant with the value for property_name or null if throws is set. If the returned Variant is floating, it is consumed - otherwise its reference count is decreased by one.


Namespace: GLib
Package: gio-2.0



2022 vala-language.org