MediaRecorder class Null safety

Inheritance
Annotations
  • @Native("MediaRecorder")

Constructors

MediaRecorder(MediaStream stream, [Map? options])
factory

Properties

audioBitsPerSecond int?
read-only
hashCode int
The hash code for this object.
read-only, inherited
mimeType String?
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
onError Stream<Event>
read-only
onPause Stream<Event>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String?
read-only
stream MediaStream?
read-only
videoBitsPerSecond int?
read-only

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
dispatchEvent(Event event) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
pause() → void
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
requestData() → void
resume() → void
start([int? timeslice]) → void
stop() → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

isTypeSupported(String type) bool

Constants

errorEvent → const EventStreamProvider<Event>
const EventStreamProvider<Event>('error')
pauseEvent → const EventStreamProvider<Event>
const EventStreamProvider<Event>('pause')