Method
PurpleProtocolContactsget_profile_async
unstable since: 3.0
Declaration [src]
void
purple_protocol_contacts_get_profile_async (
PurpleProtocolContacts* protocol_contacts,
PurpleContactInfo* info,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Starts the process requesting the user profile for info
.
Call purple_protocol_contacts_get_profile_finish()
to get the results.
Available since: 3.0
This method completes asynchronously. Use purple_protocol_contacts_get_profile_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
Parameters
info
-
Type:
PurpleContactInfo
The
PurpleContactInfo
whose profile to get.The data is owned by the caller of the method. cancellable
-
Type:
GCancellable
Optional GCancellable object,
NULL
to ignore.The argument can be NULL
.The data is owned by the caller of the method. callback
-
Type:
GAsyncReadyCallback
A
GAsyncReadyCallback
to call when the request is satisfied.The argument can be NULL
. data
-
Type:
gpointer
User data to pass to
callback
.The argument can be NULL
.The data is owned by the caller of the method.