AudioContext class Null safety

Inheritance
Annotations
  • @SupportedBrowser(SupportedBrowser.CHROME)
  • @SupportedBrowser(SupportedBrowser.FIREFOX)
  • @Native("AudioContext,webkitAudioContext")

Constructors

AudioContext()
factory

Properties

baseLatency num?
read-only
currentTime num?
read-onlyinherited
destination AudioDestinationNode?
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
listener AudioListener?
read-onlyinherited
on Events
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sampleRate num?
read-onlyinherited
state String?
read-onlyinherited

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
close() Future
createAnalyser() AnalyserNode
inherited
createBiquadFilter() BiquadFilterNode
inherited
createBuffer(int numberOfChannels, int numberOfFrames, num sampleRate) AudioBuffer
inherited
createBufferSource() AudioBufferSourceNode
inherited
createChannelMerger([int? numberOfInputs]) ChannelMergerNode
inherited
createChannelSplitter([int? numberOfOutputs]) ChannelSplitterNode
inherited
createConstantSource() ConstantSourceNode
inherited
createConvolver() ConvolverNode
inherited
createDelay([num? maxDelayTime]) DelayNode
inherited
createDynamicsCompressor() DynamicsCompressorNode
inherited
createGain() GainNode
override
createIirFilter(List<num> feedForward, List<num> feedBack) IirFilterNode
inherited
createMediaElementSource(MediaElement mediaElement) MediaElementAudioSourceNode
inherited
createMediaStreamDestination() MediaStreamAudioDestinationNode
inherited
createMediaStreamSource(MediaStream mediaStream) MediaStreamAudioSourceNode
inherited
createOscillator() OscillatorNode
inherited
createPanner() PannerNode
inherited
createPeriodicWave(List<num> real, List<num> imag, [Map? options]) PeriodicWave
inherited
createScriptProcessor([int? bufferSize, int? numberOfInputChannels, int? numberOfOutputChannels]) ScriptProcessorNode
override
createStereoPanner() StereoPannerNode
inherited
createWaveShaper() WaveShaperNode
inherited
decodeAudioData(ByteBuffer audioData, [DecodeSuccessCallback? successCallback, DecodeErrorCallback? errorCallback]) Future<AudioBuffer>
override
dispatchEvent(Event event) bool
inherited
getOutputTimestamp() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
resume() Future
inherited
suspend() Future
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

supported bool
Checks if this type is supported on the current platform.
read-only