ConnectionUpgradeContactsCb


Description:

[ CCode ( instance_pos = 3.9 ) ]
[ Version ( since = "0.7.18" ) ]
public delegate void ConnectionUpgradeContactsCb (Connection connection, Contact[] contacts, Error error, Object weak_object)

Signature of a callback used to receive the result of upgrade_contacts.

If an unrecoverable error occurs (for instance, if connection becomes disconnected) it is indicated by error, but the contacts in contacts are still provided.

Parameters:

connection

The connection

contacts

An array of contacts.length TpContact objects (this callback is not given an extra reference to any of these objects, and must call @ref on any that it will keep)

error

An unrecoverable error, or null if the connection remains valid

weak_object

the weak_object that was passed to upgrade_contacts

n_contacts

The number of TpContact objects for which an upgrade was requested

user_data

the user_data that was passed to upgrade_contacts


Namespace: TelepathyGLib
Package: telepathy-glib