IVideoDeviceManager class

@valid since 3.56 @detail api @brief 主要用于枚举、设置视频采集设备

Inheritance
  • Object
  • PackClass
  • IVideoDeviceManager

Constructors

IVideoDeviceManager()

Properties

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

Methods

$createInstance(List args) → dynamic
Factory method for creating instances
override
$destroy() → void
inherited
$init(List args) → void
inherited
findOverrideIndices(List args, List<List<int>> indicesList) List<int>
查找重载参数下标列表 @desc android 构造函数存在重载 此方法通过实际传入参数与构造函数参数列表集合的比对,来获取当前实际的需要使用的参数列表
inherited
fn2AndroidClass(Function callback, dynamic nativeClass(), String methodName) → dynamic
与 ts runtime 中的 fn2AndroidClass 功能一致 将 Dart 函数转换为 Android 回调类实例供 Android 侧使用
inherited
ios_getVideoCaptureDevice(string deviceID) Future<int?>
@platform ios @detail api @author zhangzhenyu.samuel @brief 获取当前 SDK 正在使用的视频采集设备信息 @param deviceID 视频设备 ID @return - 0:方法调用成功 - !0:方法调用失败
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setVideoCaptureDevice(string deviceId) Future<int?>
@valid since 3.56 @detail api @author likai.666 @brief 设置当前视频采集设备 @param deviceId 视频设备 ID,可以通过 enumerateVideoCaptureDevices{@link #IVideoDeviceManager#enumerateVideoCaptureDevices} 获取 @return - 0:方法调用成功 - !0:方法调用失败
toString() String
A string representation of this object.
inherited
transformToPlatformConstructorArgs(List args, List<int> indices, Map<String, dynamic> typeMap, Map<String, dynamic> enumMap, Map<String, dynamic> classMap, String platformVar) List
实例化参数处理 将 pack 过后的 enum / class 转成 android / ios 平台侧的 enum / class
inherited
updateInstance(dynamic instance) → void
inherited

Operators

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