MediaStreamTrack class
- Inheritance
- Object
- EventTarget
- MediaStreamTrack
- Implementers
- Annotations
- @SupportedBrowser.new(SupportedBrowser.CHROME)
- @Native.new("MediaStreamTrack")
Properties
- contentHint↔String?
- getter/setter pair
- enabled↔bool?
- getter/setter pair
- hashCode→int
- The hash code for this object.no setterinherited
- id→String?
- no setter
- kind→String?
- no setter
- label→String?
- no setter
- muted→bool?
- no setter
- on→Events
- This is an ease-of-use accessor for event streams which should only beused when an explicit accessor is not available.no setterinherited
- onEnded→Stream<
Event> - Stream of
endedevents handled by thisMediaStreamTrack.no setter - onMute→Stream<
Event> - Stream of
muteevents handled by thisMediaStreamTrack.no setter - onUnmute→Stream<
Event> - Stream of
unmuteevents handled by thisMediaStreamTrack.no setter - readyState→String?
- no setter
- runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
Methods
- addEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- applyConstraints(
[Map?constraints])→Future - clone(
)→MediaStreamTrack - dispatchEvent(
Eventevent)→bool - inherited
- getCapabilities(
)→Map - getConstraints(
)→Map - getSettings(
)→Map - noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- removeEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- stop(
)→ void - toString(
)→String - A string representation of this object.inherited
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited
Constants
- endedEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
endedevents to eventhandlers that are not necessarily instances ofMediaStreamTrack. - muteEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
muteevents to eventhandlers that are not necessarily instances ofMediaStreamTrack. - unmuteEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
unmuteevents to eventhandlers that are not necessarily instances ofMediaStreamTrack.