AudioEncoder class

The interface of the WebCodecs API encodes AudioData objects.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

AudioEncoder(AudioEncoderInit init)
factory

Properties

encodeQueueSize int

Available on AudioEncoder, provided by the PropsAudioEncoder extension

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

Available on AudioEncoder, provided by the PropsAudioEncoder extension

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

Available on AudioEncoder, provided by the PropsAudioEncoder extension

no setter

Methods

close() → void

Available on AudioEncoder, provided by the PropsAudioEncoder extension

configure(AudioEncoderConfig config) → void

Available on AudioEncoder, provided by the PropsAudioEncoder extension

encode(AudioData data) → void

Available on AudioEncoder, provided by the PropsAudioEncoder extension

flush() Future<void>

Available on AudioEncoder, provided by the PropsAudioEncoder extension

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

Available on AudioEncoder, provided by the PropsAudioEncoder extension

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

Operators

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