This interface supplies information about the state of a file or directory.
The Metadata
object represents information about the state of a file or directory. You can get an instance of a Metadata object by calling the getMetadata method of a DirectoryEntry
or FileEntry
object.
function win(metadata) { console.log("Last Modified: " + metadata.modificationTime); } // Request the metadata object for this entry entry.getMetadata(win, null);