VideoDecoder class

Available only in secure contexts.

MDN Reference

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

VideoDecoder(VideoDecoderInit init)
factory

Properties

addEventListener ↔ void Function(String, [Object?, Object?])

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
addEventListener → ({void Function<K$>(VideoDecoderEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

Overload accessor: $1, $2
no setter
close ↔ void Function()

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

getter/setter pair
configure ↔ void Function(VideoDecoderConfig)

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

getter/setter pair
decode ↔ void Function(EncodedVideoChunk)

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

getter/setter pair
decodeQueueSize num

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

MDN Reference
no setter
dispatchEvent bool Function(Event)

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
flush Future<void> Function()

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ondequeue ↔ dynamic Function(Event)?

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

getter/setter pair
removeEventListener ↔ void Function(String, [Object?, Object?])

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
removeEventListener → ({void Function<K$>(VideoDecoderEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

Overload accessor: $1, $2
no setter
reset ↔ void Function()

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state CodecState

Available on VideoDecoder, provided by the VideoDecoder$Typings extension

MDN Reference
no setter

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

isConfigSupported Future<VideoDecoderSupport> Function(VideoDecoderConfig)
getter/setter pair