MediaDevices$Typings extension
- on
Properties
-
addEventListener
→ ({void Function<
K$>(MediaDevicesEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on MediaDevices, provided by the MediaDevices$Typings extension
Overload accessor: $1, $2no setter -
enumerateDevices
↔ Future<
List< Function()MediaDeviceInfo> > -
Available on MediaDevices, provided by the MediaDevices$Typings extension
getter/setter pair -
getDisplayMedia
↔ Future<
MediaStream> Function([DisplayMediaStreamOptions?]) -
Available on MediaDevices, provided by the MediaDevices$Typings extension
getter/setter pair - getSupportedConstraints ↔ MediaTrackSupportedConstraints Function()
-
Available on MediaDevices, provided by the MediaDevices$Typings extension
getter/setter pair -
getUserMedia
↔ Future<
MediaStream> Function([MediaStreamConstraints?]) -
Available on MediaDevices, provided by the MediaDevices$Typings extension
getter/setter pair - ondevicechange ↔ dynamic Function(Event)?
-
Available on MediaDevices, provided by the MediaDevices$Typings extension
MDN Referencegetter/setter pair -
removeEventListener
→ ({void Function<
K$>(MediaDevicesEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on MediaDevices, provided by the MediaDevices$Typings extension
Overload accessor: $1, $2no setter