MediaStreamTrack class

Inheritance
Implementers
Annotations
  • @SupportedBrowser(SupportedBrowser.CHROME)
  • @Native("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 be used when an explicit accessor is not available.
no setterinherited
onEnded Stream<Event>
Stream of ended events handled by this MediaStreamTrack.
no setter
onMute Stream<Event>
Stream of mute events handled by this MediaStreamTrack.
no setter
onUnmute Stream<Event>
Stream of unmute events handled by this MediaStreamTrack.
no setter
readyState String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
applyConstraints([Map? constraints]) Future
clone() MediaStreamTrack
dispatchEvent(Event event) bool
inherited
getCapabilities() Map
getConstraints() Map
getSettings() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
stop() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

endedEvent → const EventStreamProvider<Event>
Static factory designed to expose ended events to event handlers that are not necessarily instances of MediaStreamTrack.
const EventStreamProvider<Event>('ended')
muteEvent → const EventStreamProvider<Event>
Static factory designed to expose mute events to event handlers that are not necessarily instances of MediaStreamTrack.
const EventStreamProvider<Event>('mute')
unmuteEvent → const EventStreamProvider<Event>
Static factory designed to expose unmute events to event handlers that are not necessarily instances of MediaStreamTrack.
const EventStreamProvider<Event>('unmute')