- Overview
- The Command-line Interface
- Platform Guides
- Configuration Reference
- Embedding WebViews
- Plugin Development Guide
- Privacy Guide
- Domain 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.
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_ABORTEDMediaError.MEDIA_ERR_NETWORKMediaError.MEDIA_ERR_DECODEMediaError.MEDIA_ERR_NONE_SUPPORTED
Description
The MediaError object is passed to a [mediaError](../Parameters/mediaError.html) callback function
when an error occurs.