MediaEncodingConfiguration class

The dictionary of the Media Capabilities API is used to define the type of media being tested when calling MediaCapabilities.encodingInfo() to query whether a specific media configuration is supported, smooth, and/or power efficient.

Implemented types
Available extensions
Annotations
  • @experimental
  • @anonymous
  • @JS()
  • @staticInterop

Constructors

MediaEncodingConfiguration({required MediaEncodingType type})
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
type MediaEncodingType

Available on MediaEncodingConfiguration, provided by the PropsMediaEncodingConfiguration extension

getter/setter pair
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