- Overview
- The Command-line Interface
- Platform Guides
- The config.xml File
- Embedding WebViews
- Plugin Development Guide
- Privacy Guide
- Whitelist Guide
- Accelerometer
- Camera
- Capture
- Compass
- Connection
- Contacts
- Device
- Events
- File
- Geolocation
- Globalization
- InAppBrowser
- Media
- Notification
- Splashscreen
- Storage
This version of the documentation is outdated!
Click here for the latest released version.
Metadata
An interface that supplies information about the state of a file or directory.
Properties
- modificationTime: The time when the file or directory was last modified. (Date)
Details
The Metadata
object represents information about the state of a file
or directory. Calling a [DirectoryEntry](../directoryentry/directoryentry.html)
or [FileEntry](../fileentry/fileentry.html)
object's
getMetadata()
method results in a Metadata
instance.
Supported Platforms
- Android
- BlackBerry WebWorks (OS 5.0 and higher)
- iOS
- Windows Phone 7 and 8
- Windows 8
Quick Example
function win(metadata) {
console.log("Last Modified: " + metadata.modificationTime);
}
// Request the metadata object for this entry
entry.getMetadata(win, null);