discontinuedPackage js_bindings has been discontinued and replaced by typings.

AudioConfiguration class

The dictionary of the Media Capabilities API defines the audio file being tested when calling MediaCapabilities.encodingInfo() or MediaCapabilities.decodingInfo() to query whether a specific audio configuration is supported, smooth, and/or power efficient.

Available extensions
Annotations
  • @experimental
  • @anonymous
  • @JS.new()
  • @staticInterop

Constructors

AudioConfiguration({required String contentType, String? channels, int? bitrate, int? samplerate, bool? spatialRendering})
factory

Properties

bitrate ↔ int

Available on AudioConfiguration, provided by the PropsAudioConfiguration extension

getter/setter pair
channels ↔ String

Available on AudioConfiguration, provided by the PropsAudioConfiguration extension

getter/setter pair
contentType ↔ String

Available on AudioConfiguration, provided by the PropsAudioConfiguration extension

getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
samplerate ↔ int

Available on AudioConfiguration, provided by the PropsAudioConfiguration extension

getter/setter pair
spatialRendering ↔ bool

Available on AudioConfiguration, provided by the PropsAudioConfiguration extension

getter/setter pair

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