AudioDecoder class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebCodecs API decodes chunks of audio.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

AudioDecoder(AudioDecoderInit init)
factory

Properties

decodeQueueSize int

Available on AudioDecoder, provided by the PropsAudioDecoder extension

no setter
hashCode int
The hash code for this object.
no setterinherited
ondequeue EventHandlerNonNull<Event>?

Available on AudioDecoder, provided by the PropsAudioDecoder extension

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

Available on AudioDecoder, provided by the PropsAudioDecoder extension

no setter

Methods

close() → void

Available on AudioDecoder, provided by the PropsAudioDecoder extension

configure(AudioDecoderConfig config) → void

Available on AudioDecoder, provided by the PropsAudioDecoder extension

decode(EncodedAudioChunk chunk) → void

Available on AudioDecoder, provided by the PropsAudioDecoder extension

flush() Future<void>

Available on AudioDecoder, provided by the PropsAudioDecoder extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void

Available on AudioDecoder, provided by the PropsAudioDecoder extension

toString() String
A string representation of this object.
inherited

Operators

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