telepathy-glib API Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Connection and Channel Anonymity interfacesConnection and Channel Anonymity interfaces — client-side wrappers for the Anonymity interfaces |
#include <telepathy-glib/telepathy-glib-dbus.h> TpProxySignalConnection * tp_cli_connection_interface_anonymity_connect_to_anonymity_modes_changed (TpConnection *proxy
,tp_cli_connection_interface_anonymity_signal_callback_anonymity_modes_changed callback
,gpointer user_data
,GDestroyNotify destroy
,GObject *weak_object
,GError **error
); void (*tp_cli_connection_interface_anonymity_signal_callback_anonymity_modes_changed) (TpConnection *proxy
,guint arg_Modes
,gpointer user_data
,GObject *weak_object
);
In some protocols, mainly those that interact with the PSTN, it's possible to make a call without disclosing the originating identity (e.g. phone number). The Anonymity interfaces on the Connection and Channel can be used to control this feature in Telepathy.
This section documents the auto-generated C wrappers for the Anonymity interfaces, used with TpConnection and TpChannel objects.
TpProxySignalConnection * tp_cli_connection_interface_anonymity_connect_to_anonymity_modes_changed (TpConnection *proxy
,tp_cli_connection_interface_anonymity_signal_callback_anonymity_modes_changed callback
,gpointer user_data
,GDestroyNotify destroy
,GObject *weak_object
,GError **error
);
Connect a handler to the signal AnonymityModesChanged.
Emitted when the anonymity mode has changed.
|
A TpConnection or subclass |
|
Callback to be called when the signal is received |
|
User-supplied data for the callback |
|
Destructor for the user-supplied data, which
will be called when this signal is disconnected, or
before this function returns NULL
|
|
A GObject which will be weakly referenced; if it is destroyed, this callback will automatically be disconnected |
|
If not NULL , used to raise an error if NULL is
returned |
Returns : |
a TpProxySignalConnection containing all of the
above, which can be used to disconnect the signal; or
NULL if the proxy does not have the desired interface
or has become invalid. |
void (*tp_cli_connection_interface_anonymity_signal_callback_anonymity_modes_changed) (TpConnection *proxy
,guint arg_Modes
,gpointer user_data
,GObject *weak_object
);
Represents the signature of a callback for the signal AnonymityModesChanged.
|
The proxy on which tp_cli_connection_interface_anonymity_connect_to_anonymity_modes_changed()
was called |
|
The new anonymity modes for this connection. (TpAnonymityModeFlags) |
|
User-supplied data |
|
User-supplied weakly referenced object |