dbus_set_property


Description:

[ Version ( since = "1.24" ) ]
public async bool dbus_set_property (string object_path, string interface_name, string property_name, Variant value, int timeout_msec, Cancellable? cancellable) throws Error

Like dbus_call but calls "Set" on the standard "org.

freedesktop.DBus.Properties" D-Bus interface.

Parameters:

this

the Client

object_path

path of remote object

interface_name

D-Bus interface for the property to set.

property_name

the name of the property to set

value

a Variant with the value to set.

timeout_msec

the timeout in milliseconds, -1 to use the default timeout or g_maxint for no timeout

cancellable

a Cancellable or null

callback

a TaskReadyCallback to call when the request is satisfied or null if you don't care about the result of the method invocation

user_data

the data to pass to callback




2022 vala-language.org