nextFilesAsync

open fun nextFilesAsync(numFiles: Int, ioPriority: Int, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Request information for a number of files from the enumerator asynchronously. When all I/O for the operation is finished the @callback will be called with the requested information.

See the documentation of #GFileEnumerator for information about the order of returned files.

Once the end of the enumerator is reached, or if an error occurs, the

Parameters

numFiles

the number of file info objects to request

ioPriority

the iface.AsyncResult.html#io-priority of the request

cancellable

optional #GCancellable object, null to ignore.

callback

a #GAsyncReadyCallback to call when the request is satisfied