FileSystemDirectoryReader Class

Reads the entries of a directory (https://wicg.github.io/entries-api/#api-directoryreader): the first call of FileSystemDirectoryReader.ReadEntries gets all the entries, the next ones get an empty list (the end of the directory).

public sealed class FileSystemDirectoryReader

Methods

NameDescription
ReadEntries(FileSystemEntriesCallback, ErrorCallback?)Calls successCallback (from a task) with the next entries of the directory, or an empty list at the end. errorCallback gets an InvalidStateError when a read is in progress.

ReadEntries(FileSystemEntriesCallback, ErrorCallback?)

FileSystemEntry.cs

Calls successCallback (from a task) with the next entries of the directory, or an empty list at the end. errorCallback gets an InvalidStateError when a read is in progress.

public void ReadEntries(FileSystemEntriesCallback successCallback, ErrorCallback? errorCallback = null)