Inheritance
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.

const EventStreamProvider<Event>('ended')
muteEvent EventStreamProvider<Event>

Static factory designed to expose mute events to event handlers that are not necessarily instances of MediaStreamTrack.

const EventStreamProvider<Event>('mute')
unmuteEvent EventStreamProvider<Event>

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

read-only

Static Methods

getSources() Future<List<SourceInfo>>

Constructors

MediaStreamTrack.internal_()

Properties

enabled bool

read / write
hashCode int

read-only, inherited
id String

read-only
kind String

read-only
label String

read-only
muted bool

read-only
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
onEnded Stream<Event>

Stream of ended events handled by this MediaStreamTrack.

read-only
onMute Stream<Event>

Stream of mute events handled by this MediaStreamTrack.

read-only
onUnmute Stream<Event>

Stream of unmute events handled by this MediaStreamTrack.

read-only
readyState String

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

addEventListener(String type, EventListener listener, [ bool useCapture ]) → void

inherited
clone() MediaStreamTrack

dispatchEvent(Event event) bool

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
stop() → void

toString() String

Returns the result of the JavaScript objects toString method.

inherited