- 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.
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.