MediaError class

An error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as

MDN Reference

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

MediaError.new()
factory

Properties

code num

Available on MediaError, provided by the MediaError$Typings extension

MDN Reference
no setter
hashCode int
The hash code for this object.
no setterinherited
mediaErrAborted num

Available on MediaError, provided by the MediaError$Typings extension

no setter
mediaErrDecode num

Available on MediaError, provided by the MediaError$Typings extension

no setter
mediaErrNetwork num

Available on MediaError, provided by the MediaError$Typings extension

no setter
mediaErrSrcNotSupported num

Available on MediaError, provided by the MediaError$Typings extension

no setter
message String

Available on MediaError, provided by the MediaError$Typings extension

MDN Reference
no setter
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 num
no setter
mediaErrDecode num
no setter
mediaErrNetwork num
no setter
mediaErrSrcNotSupported num
no setter