MediaDevicesWeb class

Inheritance

Constructors

MediaDevicesWeb()

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.
override
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.
override
getSources() Future<List>
override
getSupportedConstraints() MediaTrackSupportedConstraints
Returns MediaTrackSupportedConstraints recognized by a User Agent for controlling the Capabilities of a MediaStreamTrack object.
override
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.
override
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