Method
PurpleProtocolContactsget_profile_async
unstable since: 3.0
Declaration [src]
void
purple_protocol_contacts_get_profile_async (
PurpleProtocolContacts* protocol,
PurpleContact* contact,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Starts the process requesting the contact’s profile.
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
contact-
Type:
PurpleContactThe contact whose profile to get.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableAn optional GCancellable.
The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA callback to call when the request is complete.
The argument can be NULL. data-
Type:
gpointerUser data to pass to the callback.
The argument can be NULL.The data is owned by the caller of the method.