get_cached_property


Description:

public Variant? get_cached_property (string property_name)

Looks up the value for a property from the cache.

This call does no blocking IO.

If this has an expected interface (see g_interface_info) and property_name is referenced by it, then value is checked against the type of the property.

Parameters:

this

A DBusProxy.

property_name

Property name.

Returns:

A reference to the Variant instance that holds the value for property_name or null if the value is not in the cache. The returned reference must be freed with g_variant_unref.




2022 vala-language.org