index_file_async


Description:

[ Version ( since = "0.16" ) ]
public async bool index_file_async (File file, Cancellable? cancellable) throws Error

Tells the filesystem miner to start indexing the file.

Once the message has been sent, callback will be called. You can then call index_file_async.end to get the result.

Parameters:

this

a MinerManager

file

a URL valid in GIO of a file to give to the miner for processing

cancellable

a Cancellable, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

the data to pass to the callback function




2022 vala-language.org