MediaStreamTrack class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- MediaStreamTrack
- Implemented by
- Annotations
- @DocsEditable()
- @DomName('MediaStreamTrack')
- @SupportedBrowser(SupportedBrowser.CHROME)
- @Experimental()
Constants
- endedEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('MediaStreamTrack.endedEvent')
-
Static factory designed to expose
ended
events to event handlers that are not necessarily instances of MediaStreamTrack.const EventStreamProvider<Event>
('ended') - muteEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('MediaStreamTrack.muteEvent')
-
Static factory designed to expose
mute
events to event handlers that are not necessarily instances of MediaStreamTrack.const EventStreamProvider<Event>
('mute') - unmuteEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('MediaStreamTrack.unmuteEvent')
-
Static factory designed to expose
unmute
events to event handlers that are not necessarily instances of MediaStreamTrack.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> @DocsEditable(), @DomName('MediaStreamTrack.onended'), read-only
-
Stream of
ended
events handled by thisMediaStreamTrack
. - onMute → Stream<Event> @DocsEditable(), @DomName('MediaStreamTrack.onmute'), read-only
-
Stream of
mute
events handled by thisMediaStreamTrack
. - onUnmute → Stream<Event> @DocsEditable(), @DomName('MediaStreamTrack.onunmute'), read-only
-
Stream of
unmute
events handled by thisMediaStreamTrack
. - readyState → String @DocsEditable(), @DomName('MediaStreamTrack.readyState'), read-only
- remote → bool @DocsEditable(), @DomName('MediaStreamTrack.remote'), @Experimental(), read-only
- hashCode → int read-only, inherited
- on → Events read-only, inherited
-
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
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 inherited -
Invoked when a non-existent method or property is accessed.
- removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited - toString(
) → String inherited -
Returns the result of the JavaScript objects
toString
method.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/MediaStreamTrack-class.html