watch_dir


Description:

public unowned AccountWatch watch_dir (string key_prefix, AccountNotifyCb callback)

Installs a watch on all the keys under key_prefix: callback will be invoked whenever the value of any of these keys changes (or a key is removed).

Parameters:

this

the Account.

key_prefix

the prefix of the keys to watch.

callback

a AccountNotifyCb callback to be called.

user_data

pointer to user data, to be passed to callback.

Returns:

a AccountWatch, which can then be used to remove this watch.




2022 vala-language.org