- Overview
- Platform Support
- The Command-Line Interface
- Platform Guides
- Using Plugman to Manage Plugins
- The config.xml File
- Icons and Splash Screens
- 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
- Amazon Fire OS
- Android
- BlackBerry WebWorks 5.0+
- 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);