get_folder_info


Description:

[ Version ( since = "3.0" ) ]
public async FolderInfo? get_folder_info (string? top, StoreGetFolderInfoFlags flags, int io_priority, Cancellable? cancellable = null) throws Error

Asynchronously fetches information about the folder structure of this, starting with top.

For details of the behavior, see get_folder_info_sync.

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

Parameters:

this

a Store

top

the name of the folder to start from

flags

various CAMEL_STORE_FOLDER_INFO_* flags to control behavior

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