query_info_async


Description:

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

Queries the stream information asynchronously.

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

For the synchronous version of this function, see query_info .

If cancellable is not null, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error g_io_error_cancelled will be set

Parameters:

this

a FileInputStream.

attributes

a file 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