refresh_backend_sync


Description:

[ Version ( since = "3.30" ) ]
public bool refresh_backend_sync (string source_uid, Cancellable? cancellable = null) throws Error

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.

If an error occurs, the function will set error and return false.

Parameters:

this

an SourceRegistry

source_uid

UID of a collection Source whose backend to refresh

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded




2022 vala-language.org