watch_name_owner


Description:

public void watch_name_owner (string name, owned DBusDaemonNameOwnerChangedCb callback)

Arrange for callback to be called with the owner of name as soon as possible (which might even be before this function returns!), then again every time the ownership of name changes.

If multiple watches are registered for the same name, they will be called in the order they were registered.

Parameters:

this

The D-Bus daemon

name

The name whose ownership is to be watched

callback

Callback to call when the ownership is discovered or changes

destroy

Called to destroy user_data when the name owner watch is cancelled due to tp_dbus_daemon_cancel_name_owner_watch

user_data

Arbitrary data to pass to callback