file method

void file(
  1. FileCallback successCallback, [
  2. ErrorCallback errorCallback
])

The FileSystemFileEntry interface's method file() returns a File object which can be used to read data from the file represented by the directory entry.

Implementation

external void file(
  FileCallback successCallback, [
  ErrorCallback errorCallback,
]);