MediaStreamTrack class
A single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well.
- Implemented types
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- MediaStreamTrack()
-
factory
Properties
- addEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair -
addEventListener
→ ({void Function<
K$>(MediaStreamTrackEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
Overload accessor: $1, $2no setter -
applyConstraints
↔ Future<
void> Function([MediaTrackConstraints?]) -
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
getter/setter pair - clone ↔ MediaStreamTrack Function()
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
getter/setter pair - contentHint ↔ String
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referencegetter/setter pair - dispatchEvent ↔ bool Function(Event)
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair - enabled ↔ bool
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referencegetter/setter pair - getCapabilities ↔ MediaTrackCapabilities Function()
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
getter/setter pair - getConstraints ↔ MediaTrackConstraints Function()
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
getter/setter pair - getSettings ↔ MediaTrackSettings Function()
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referenceno setter - kind → String
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referenceno setter - label → String
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referenceno setter - muted → bool
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referenceno setter - onended ↔ dynamic Function(Event)?
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referencegetter/setter pair - onmute ↔ dynamic Function(Event)?
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referencegetter/setter pair - onunmute ↔ dynamic Function(Event)?
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referencegetter/setter pair - readyState → MediaStreamTrackState
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
MDN Referenceno setter - removeEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair -
removeEventListener
→ ({void Function<
K$>(MediaStreamTrackEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings extension
Overload accessor: $1, $2no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stop ↔ void Function()
-
Available on MediaStreamTrack, provided by the MediaStreamTrack$Typings 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