ImageDecoder class
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebCodecs API provides a way to unpack and decode encoded image data.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- ImageDecoder(ImageDecoderInit init)
-
factory
Properties
- complete → bool
-
Available on ImageDecoder, provided by the PropsImageDecoder extension
no setter -
completed
→ Future<
void> -
Available on ImageDecoder, provided by the PropsImageDecoder extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tracks → ImageTrackList
-
Available on ImageDecoder, provided by the PropsImageDecoder extension
no setter - type → String
-
Available on ImageDecoder, provided by the PropsImageDecoder extension
no setter
Methods
-
close(
) → void -
Available on ImageDecoder, provided by the PropsImageDecoder extension
-
decode(
[ImageDecodeOptions? options]) → Future< ImageDecodeResult> -
Available on ImageDecoder, provided by the PropsImageDecoder extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
Available on ImageDecoder, provided by the PropsImageDecoder extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isTypeSupported(
String type) → Future< bool>