- 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.
MediaError
A MediaError
object is returned to the [mediaError](../Parameters/mediaError.html)
callback
function when an error occurs.
Properties
- code: One of the predefined error codes listed below.
- message: An error message describing the details of the error.
Constants
MediaError.MEDIA_ERR_ABORTED
MediaError.MEDIA_ERR_NETWORK
MediaError.MEDIA_ERR_DECODE
MediaError.MEDIA_ERR_NONE_SUPPORTED
Description
The MediaError
object is passed to a [mediaError](../Parameters/mediaError.html)
callback function
when an error occurs.