MediaTrackConstraints class
The dictionary is used to describe a set of capabilities and the
value or values each can take on. A constraints dictionary is
passed into applyConstraints()
to allow a script to establish a
set of exact (required) values or ranges and/or preferred values
or ranges of values for the track, and the most
recently-requested set of custom constraints can be retrieved by
calling getConstraints()
.
- Implemented types
- Available extensions
- Annotations
-
- @anonymous
- @JS()
- @staticInterop
Constructors
-
MediaTrackConstraints({Iterable<
MediaTrackConstraintSet> ? advanced}) -
factory
Properties
-
advanced
↔ Iterable<
MediaTrackConstraintSet> -
Available on MediaTrackConstraints, provided by the PropsMediaTrackConstraints extension
getter/setter pair - aspectRatio ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - autoGainControl ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - channelCount ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - deviceId ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - echoCancellation ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - facingMode ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - frameRate ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - groupId ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - latency ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - noiseSuppression ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - resizeMode ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRate ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - sampleSize ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet extension
getter/setter pair - width ↔ dynamic
-
Available on MediaTrackConstraintSet, provided by the PropsMediaTrackConstraintSet 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