Method
CMClientadd_pusher_async
since: 0.0.1
Declaration [src]
void
cm_client_add_pusher_async (
CmClient* self,
CmPusher* pusher,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Add a pusher to the list of pushers for this client.
Available since: 0.0.1
This method completes asynchronously. Use cm_client_add_pusher_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
pusher-
Type:
CmPusherThe pusher to set.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableOptional
GCancellableobject,NULLto ignore.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallback.The argument can be NULL. user_data-
Type:
gpointerThe user data for
callback.The argument can be NULL.The data is owned by the caller of the method.