TXDeviceManager class Null safety

设备管理

Constructors

TXDeviceManager(dynamic channel)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

enableCameraAutoFocus(bool enable) Future<int?>
设置是否自动识别人脸位置 [...]
enableCameraTorch(bool enable) Future<bool?>
开关闪光灯。 [...]
getCameraZoomMaxRatio() Future<double?>
获取摄像头的缩放因子
isAutoFocusEnabled() Future<bool?>
查询是否支持自动识别人脸位置 [...]
isFrontCamera() Future<bool?>
是否使用前置摄像头
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setAudioRoute(int route) Future<void>
设置音频路由。 [...]
setCameraFocusPosition(int x, int y) Future<void>
设置摄像头焦点。 [...]
setCameraZoomRatio(double value) Future<int?>
设置摄像头缩放因子(焦距)。 [...]
setSystemVolumeType(int type) Future<void>
设置通话时使用的系统音量类型。 [...]
switchCamera(bool isFrontCamera) Future<int?>
切换摄像头。 [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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