MediaError class

The interface represents an error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as <audio> or <video>. A object describes the error in general terms using a numeric code categorizing the kind of error, and a message, which provides specific diagnostics about what went wrong.

Available Extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

MediaError()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

mediaErrAborted int
no setter
mediaErrDecode int
no setter
mediaErrNetwork int
no setter
mediaErrSrcNotSupported int
no setter