ConnectionHoldHandlesCb
Description:
[ 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.
See hold_handles.
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 |
error |
|
weak_object |
the same object that was passed to hold_handles |
user_data |
the same arbitrary pointer that was passed to hold_handles |