ConnectionHoldHandlesCb


Description:

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

Warning: ConnectionHoldHandlesCb is deprecated.

Signature of the callback called when hold_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 handles requested by the caller are passed through to this callback on success, 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 hold_handles

n_handles

the number of handles that were passed to hold_handles on success, or 0 on failure

handles

a copy of the array of n_handles handles that was passed to hold_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 hold_handles

user_data

the same arbitrary pointer that was passed to hold_handles


Namespace: TelepathyGLib
Package: telepathy-glib