Contact


Object Hierarchy:

TelepathyGLib.Contact TelepathyGLib.Contact TelepathyGLib.Contact GLib.Object GLib.Object GLib.Object->TelepathyGLib.Contact

Description:

[ CCode ( type_id = "tp_contact_get_type ()" ) ]
[ Version ( since = "0.7.18" ) ]
public class Contact : Object

An object representing a contact on a Connection.

Contact objects support tracking a number of attributes of contacts, as described by the ContactFeature flags. Features can be specified when instantiating contact objects (with get_contacts_by_id or get_contacts_by_handle), or added to an existing contact object with upgrade_contacts. For example, a client wishing to keep track of a contact's alias would set ALIAS, and then listen for the "notify::alias" signal, emitted whenever the alias property changes.

Note that releasing a Contact object might release handle references held by calling tp_cli_connection_call_request_handles, tp_cli_connection_run_request_handles, tp_cli_connection_call_hold_handles, tp_cli_connection_run_hold_handles, tp_cli_connection_interface_contacts_call_get_contact_attributes or tp_cli_connection_interface_contacts_run_get_contact_attributes directly. Those functions should be avoided in favour of using Contact, hold_handles, request_handles and get_contact_attributes.


Namespace: TelepathyGLib
Package: telepathy-glib

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org