SimpleClientFactory
Object Hierarchy:
Description:
[ CCode ( type_id = "tp_simple_client_factory_get_type ()" ) ]
[ Version ( since = "0.15.5" ) ]
public class SimpleClientFactory : Object
[ Version ( since = "0.15.5" ) ]
public class SimpleClientFactory : Object
Data structure representing a SimpleClientFactory
All known sub-classes:
Namespace: TelepathyGLib
Package: telepathy-glib
Content:
Properties:
- public DBusDaemon dbus_daemon { get; construct; }
The D-Bus daemon for this object.
Creation methods:
- public SimpleClientFactory (DBusDaemon? dbus)
Creates a new SimpleClientFactory instance.
Methods:
- public void add_account_features (Quark[]? features)
Add
features
to the desired features to be prepared on Account objects. - public void add_channel_features (Quark[]? features)
Add
features
to the desired features to be prepared on Channel objects. - public void add_connection_features (Quark[]? features)
Add
features
to the desired features to be prepared on Connection objects. - public void add_contact_features (ContactFeature[]? features)
Add
features
to the desired features to be prepared on Contact objects. - public virtual Array<Quark?> dup_account_features (Account account)
- public virtual Array<Quark?> dup_channel_features (Channel channel)
- public virtual Array<Quark?> dup_connection_features (Connection connection)
Return a zero-terminated Array containing the Connection features that should be prepared on
connection
. - public virtual Array<ContactFeature> dup_contact_features (Connection connection)
Return a Array containing the ContactFeature that should be prepared on all contacts of
connection
. - public Account ensure_account (string object_path, HashTable<string,Value?> immutable_properties) throws Error
Returns a Account proxy for the account at
object_path
. - public Channel ensure_channel (Connection connection, string object_path, HashTable<string,Value?> immutable_properties) throws Error
Returns a Channel proxy for the channel at
object_path
onconnection
. - public Connection ensure_connection (string object_path, HashTable<string,Value?> immutable_properties) throws Error
Returns a Connection proxy for the connection at
object_path
. - public Contact ensure_contact (Connection connection, Handle handle, string identifier)
Returns a Contact representing
identifier
(andhandle
) onconnection
. - public async Contact ensure_contact_by_id_async (Connection connection, string identifier) throws Error
Same as dup_contact_by_id_async, but prepare the contact with all features previously passed to add_contact_features.
- public unowned DBusDaemon get_dbus_daemon ()
- public async bool upgrade_contacts_async (Connection connection, Contact[] contacts, out GenericArray<unowned Contact> contacts_out) throws Error
Same as upgrade_contacts_async, but prepare contacts with all features previously passed to add_contact_features.
Inherited Members:
All known members inherited from class GLib.Object