ConnectionWhenReadyCb


Description:

[ CCode ( instance_pos = 2.9 ) ]
[ Version ( deprecated = true , deprecated_since = "0.17.6" ) ]
public delegate void ConnectionWhenReadyCb (Connection connection, Error error)

Warning: ConnectionWhenReadyCb is deprecated since 0.17.6.

Signature of a callback passed to tp_connection_call_when_ready, which will be called exactly once, when the connection becomes ready or invalid (whichever happens first)

Parameters:

connection

the connection (which may be in the middle of being disposed, if error is non-%NULL, error->domain is TP_DBUS_ERRORS and error- >code is TP_DBUS_ERROR_PROXY_UNREFERENCED)

error

null if the connection is ready for use, or the error with which it was invalidated if it is now invalid

user_data

whatever was passed to tp_connection_call_when_ready


Namespace: TelepathyGLib
Package: telepathy-glib



2022 vala-language.org