DBusInterfaceGetPropertyFunc

typealias DBusInterfaceGetPropertyFunc = (connection: DBusConnection, sender: String, objectPath: String, interfaceName: String, propertyName: String, <Error class: unknown class>) -> <Error class: unknown class>

The type of the @get_property 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 for the property.

  • param propertyName The name of the property to get the value of.

  • param error Return location for error.

  • return A #GVariant with the value for @property_name or null if @error is set. If the returned #GVariant is floating, it is consumed - otherwise its reference count is decreased by one.