readEntries method

void readEntries(
  1. FileSystemEntriesCallback successCallback, [
  2. ErrorCallback errorCallback
])

The FileSystemDirectoryReader interface's readEntries() method retrieves the directory entries within the directory being read and delivers them in an array to a provided callback function.

The objects in the array are all based upon FileSystemEntry. Generally, they are either FileSystemFileEntry objects, which represent standard files, or FileSystemDirectoryEntry objects, which represent directories.

Implementation

external void readEntries(
  FileSystemEntriesCallback successCallback, [
  ErrorCallback errorCallback,
]);