MediaDevices 类
- 继承
-
- Object
- EventTarget
- MediaDevices
- 注解
-
- @Native("MediaDevices")
属性
方法
-
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
继承
-
dispatchEvent(
Event event) → bool -
继承
-
enumerateDevices(
) → Future< List> -
getSupportedConstraints(
) → Map -
getUserMedia(
[Map? constraints]) → Future< MediaStream> -
noSuchMethod(
Invocation invocation) → dynamic - 在访问不存在的方法或属性时被调用。继承
-
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
继承
-
toString(
) → String - 该对象的字符串表示形式。继承
运算符
-
operator ==(
Object other) → bool - 等号运算符。继承