This page is Out of Date

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

readEntries

Summary

Read the next block of entries from this directory.

Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.

Method of apis/filesystem/DirectoryReaderapis/filesystem/DirectoryReader

Syntax

 DirectoryReader.readEntries(successCallback, errorCallback);

Parameters

successCallback

Data-type
String

Called once per successful call to readEntries to deliver the next previously-unreported set of Entries in the associated Directory. If all Entries have already been returned from previous invocations of readEntries, successCallback must be called with a zero-length array as an argument.

errorCallback

Data-type
String

(Optional)

A callback indicating that there was an error reading from the Directory.

Return Value

No return value

Related specifications

W3C File API: Directories and System Specification
W3C Working Draft