synchronize_message


Description:

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

Asynchronously ensure that a message identified by message_uid has been synchronized in this so that calling get_message on it later will work in offline mode.

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

Parameters:

this

a Folder

message_uid

a message UID

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