- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- MediaStreamTrack
- Annotations
- @DocsEditable()
- @DomName('MediaStreamTrack')
- @SupportedBrowser(SupportedBrowser.CHROME)
- @Experimental()
Constants
- endedEvent → EventStreamProvider<Event>
-
Static factory designed to expose
ended
events to event handlers that are not necessarily instances of MediaStreamTrack.@DocsEditable(), @DomName('MediaStreamTrack.endedEvent')const EventStreamProvider<Event>
('ended') - muteEvent → EventStreamProvider<Event>
-
Static factory designed to expose
mute
events to event handlers that are not necessarily instances of MediaStreamTrack.@DocsEditable(), @DomName('MediaStreamTrack.muteEvent')const EventStreamProvider<Event>
('mute') - unmuteEvent → EventStreamProvider<Event>
-
Static factory designed to expose
unmute
events to event handlers that are not necessarily instances of MediaStreamTrack.@DocsEditable(), @DomName('MediaStreamTrack.unmuteEvent')const EventStreamProvider<Event>
('unmute')
Static Properties
- instanceRuntimeType → Type
-
@Deprecated("Internal Use Only"), read-only
Static Methods
-
getSources(
) → Future<List<SourceInfo>>
Constructors
Properties
- enabled → bool
-
@DocsEditable(), @DomName('MediaStreamTrack.enabled'), read / write
- id → String
-
@DocsEditable(), @DomName('MediaStreamTrack.id'), read-only
- kind → String
-
@DocsEditable(), @DomName('MediaStreamTrack.kind'), read-only
- label → String
-
@DocsEditable(), @DomName('MediaStreamTrack.label'), read-only
- muted → bool
-
@DocsEditable(), @DomName('MediaStreamTrack.muted'), @Experimental(), read-only
- onEnded → Stream<Event>
-
Stream of
ended
events handled by thisMediaStreamTrack
.@DocsEditable(), @DomName('MediaStreamTrack.onended'), read-only - onMute → Stream<Event>
-
Stream of
mute
events handled by thisMediaStreamTrack
.@DocsEditable(), @DomName('MediaStreamTrack.onmute'), read-only - onUnmute → Stream<Event>
-
Stream of
unmute
events handled by thisMediaStreamTrack
.@DocsEditable(), @DomName('MediaStreamTrack.onunmute'), read-only - readyState → String
-
@DocsEditable(), @DomName('MediaStreamTrack.readyState'), read-only
- hashCode → int
-
read-only, inherited
- on → Events
-
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
clone(
) → MediaStreamTrack -
@DocsEditable(), @DomName('MediaStreamTrack.clone'), @Experimental()
-
stop(
) → void -
@DocsEditable(), @DomName('MediaStreamTrack.stop'), @Experimental()
-
addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
toString(
) → String -
Returns the result of the JavaScript objects
toString
method.inherited