SimpleObserver
Description:
[ CCode ( has_construct_function = false , type = "TpBaseClient*" ) ]
[ Version ( deprecated = true , since = "0.11.5" ) ]
public SimpleObserver (DBusDaemon dbus, bool recover, string name, bool uniquify, owned SimpleObserverObserveChannelsImpl callback)
[ Version ( deprecated = true , since = "0.11.5" ) ]
public SimpleObserver (DBusDaemon dbus, bool recover, string name, bool uniquify, owned SimpleObserverObserveChannelsImpl callback)
Warning: SimpleObserver is deprecated.
Convenient function to create a new SimpleObserver instance.
Note:
New code should use SimpleObserver.with_am instead.
If dbus
is not the result of dup, you should
call SimpleObserver.with_am
instead, so that Account,
Connection and
Contact instances can be shared between modules.
Parameters:
dbus |
a DBusDaemon object, may not be |
recover |
the value of the Observer.Recover D-Bus property |
name |
the name of the Observer (see name: for details) |
uniquify |
the value of the uniquify_name: property |
callback |
the function called when ObserveChannels is called |
destroy |
called with the user_data as argument, when the SimpleObserver is destroyed |
user_data |
arbitrary user-supplied data passed to |
Returns:
a new SimpleObserver |