connect


Description:

public uint connect (string object_path, string method, owned MessageCallback callback)

Connect a callback handler to be evoked when message method at object_path is sent over the bus.

Parameters:

this

a MessageBus

object_path

the object path

method

the method

callback

function to be called when message method at object_path is sent

destroy_data

function to evoke with user_data as argument when user_data needs to be freed

user_data

user_data to use for the callback

Returns:

the callback identifier




2022 vala-language.org