Method
CamelOfflineStoreset_online
since: 3.26
Declaration [src]
void
camel_offline_store_set_online (
CamelOfflineStore* store,
gboolean online,
gint io_priority,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
An asynchronous variant of camel_offline_store_set_online_sync(). Call camel_offline_store_set_online_finish() from within the callback.
Available since: 3.26
This method completes asynchronously. Use camel_offline_store_set_online_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
online-
Type:
gbooleanTRUEfor online,FALSEfor offline. io_priority-
Type:
gintThe I/O priority for the request.
cancellable-
Type:
GCancellableOptional
GCancellableobject, orNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is satisfied.The argument can be NULL. user_data-
Type:
gpointerData to pass to the callback function.
The argument can be NULL.The data is owned by the caller of the method.