- Accelerometer
- Camera
- Capture
- Compass
- Connection
- Contacts
- Device
- Events
- File
- Geolocation
- Globalization
- InAppBrowser
- Media
- Notification
- Splashscreen
- Storage
- Overview
- Platform Guides
- The Cordova Command-line Interface
- Command-Line Usage
- Privacy Guide
- Upgrading Guides
- Project Settings
- Plugin Development Guide
- Domain Whitelist Guide
- Embedding WebView
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.