ConnectionManagerListCb


Description:

[ CCode ( instance_pos = 3.9 ) ]
[ Version ( since = "0.7.1" ) ]
public delegate void ConnectionManagerListCb (ConnectionManager[] cms, size_t n_cms, Error error, Object weak_object)

Signature of the callback supplied to list_connection_managers.

Since 0.11.3, list_connection_managers will wait for TP_CONNECTION_MANAGER_FEATURE_CORE to be prepared on each connection manager passed to callback, unless an error occurred while launching that connection manager.

Parameters:

cms

null-terminated array of ConnectionManager (the objects will be unreferenced and the array will be freed after the callback returns, so the callback must reference any CMs it stores a pointer to), or null on error

n_cms

number of connection managers in cms (not including the final null)

error

null on success, or an error that occurred

weak_object

user-supplied weakly referenced object

user_data

user-supplied data


Namespace: TelepathyGLib
Package: telepathy-glib



2022 vala-language.org