downsync


Description:

[ Version ( since = "3.0" ) ]
public async bool downsync (string? expression, int io_priority, Cancellable? cancellable = null) throws Error

Synchronizes messages in this described by the search expression to the local machine asynchronously for offline availability.

When the operation is finished, callback will be called. You can then call downsync.end to get the result of the operation.

Parameters:

this

a OfflineFolder

expression

search expression describing which set of messages to downsync (null for all)

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function