- 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.
MediaFile
Encapsulates properties of a media capture file.
Properties
-
name: The name of the file, without path information. (DOMString)
-
fullPath: The full path of the file, including the name. (DOMString)
-
type: The file's mime type (DOMString)
-
lastModifiedDate: The date and time when the file was last modified. (Date)
-
size: The size of the file, in bytes. (Number)
Methods
- MediaFile.getFormatData: Retrieves the format information of the media file.