refresh_backend
Description:
[ Version ( since = "3.30" ) ]
public async bool refresh_backend (string source_uid, Cancellable? cancellable) throws Error
public async bool refresh_backend (string source_uid, Cancellable? cancellable) throws Error
Asynchronously requests the D-Bus service to refresh collection backend for an Source
with UID source_uid
.
The result means that the refresh had been scheduled not whether the refresh itself succeeded. The refresh is not initiated when the collection backend is offline.
When the operation is finished, callback
will be called. You can then call refresh_backend.end to get
the result of the operation.
Parameters:
this | |
source_uid |
UID of a collection Source whose backend to refresh |
cancellable |
optional Cancellable object, or |
callback |
a TaskReadyCallback to call when the request is satisfied |
user_data |
data to pass to the callback function |