MediaConfiguration class

The MediaCapabilities dictionary of the Media Capabilities API describes how media and audio files must be configured, or defined, to be passed as a parameter of the MediaCapabilities.encodingInfo() and MediaCapabilities.encodingInfo() methods.

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

Constructors

MediaConfiguration({VideoConfiguration? video, AudioConfiguration? audio})
factory

Properties

audio ↔ AudioConfiguration

Available on MediaConfiguration, provided by the PropsMediaConfiguration 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
video ↔ VideoConfiguration

Available on MediaConfiguration, provided by the PropsMediaConfiguration 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