Method
EDataBookBookBackendrefresh
since: 3.10
Declaration [src]
void
e_book_backend_refresh (
EBookBackend* backend,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously initiates a refresh for backend, if the backend supports
refreshing. The actual refresh operation completes on its own time. This
function, along with e_book_backend_refresh_finish(), merely initiates the operation.
Once the refresh is initiated, callback will be called. You can then call e_book_backend_refresh_finish() to get the result of the initiation.
Available since: 3.10
This method completes asynchronously. Use e_book_backend_refresh_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
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.