MediaDevices class abstract

Implementers

Constructors

MediaDevices()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enumerateDevices() Future<List<MediaDeviceInfo>>
Returns a List of MediaDeviceInfo describing the devices.
getDisplayMedia(Map<String, dynamic> mediaConstraints) Future<MediaStream>
Calling this method will prompts the user to select and grant permission to capture the contents of a display or portion thereof (such as a window) as a MediaStream. The resulting stream can then be recorded using the MediaStream Recording API or transmitted as part of a WebRTC session.
getSources() Future<List>
getSupportedConstraints() MediaTrackSupportedConstraints
Returns MediaTrackSupportedConstraints recognized by a User Agent for controlling the Capabilities of a MediaStreamTrack object.
getUserMedia(Map<String, dynamic> mediaConstraints) Future<MediaStream>
Calling this method will prompts the user to select and grant permission to capture the contents of a display or portion thereof (such as a window) as a MediaStream. The resulting stream can then be recorded using the MediaStream Recording API or transmitted as part of a WebRTC session.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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