ConnectionRequestHandlesCb


Description:

[ CCode ( instance_pos = 5.9 ) ]
[ Version ( deprecated = true ) ]
public delegate void ConnectionRequestHandlesCb (Connection connection, HandleType handle_type, uint[] handles, string[] ids, Error error, Object weak_object)

Warning: ConnectionRequestHandlesCb is deprecated.

Signature of the callback called when request_handles succeeds or fails.

Note:

On success, the caller has a reference to each handle in handles.

Since telepathy-glib version 0.13.8, the handles will remain valid until connection becomes invalid (signalled by invalidated). In earlier versions, they could be released with unref_handles.

For convenience, the handle type and IDs requested by the caller are passed through to this callback, so the caller does not have to include them in user_data.

Parameters:

connection

the connection

handle_type

the handle type that was passed to request_handles

handles

the handles.length handles corresponding to ids, in the same order, or null on failure

ids

a copy of the array of handles.length IDs that was passed to request_handles on success, or null on failure

error

null on success, or an error on failure

weak_object

the same object that was passed to request_handles

n_handles

the number of IDs that were passed to request_handles on success, or 0 on failure

user_data

the same arbitrary pointer that was passed to request_handles


Namespace: TelepathyGLib
Package: telepathy-glib