query_filesystem_info_async


Description:

public virtual async FileInfo query_filesystem_info_async (string attributes, int io_priority = DEFAULT, Cancellable? cancellable = null) throws Error

Asynchronously gets the requested information about the filesystem that the specified this is on.

The result is a FileInfo object that contains key-value attributes (such as type or size for the file).

For more details, see query_filesystem_info which is the synchronous version of this call.

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

Parameters:

this

input File

attributes

an attribute query string

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, null to ignore

callback

a TaskReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function




2022 vala-language.org