NERtcDeviceManager class
设备管理模块
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
-
clearEventCallback(
) → Future< int> - 取消设备事件回调
-
enableEarBack(
bool enabled, int volume) → Future< int> - 开启或关闭耳返 [...]
-
getCameraMaxZoom(
) → Future< double> - 获取摄像头支持的最大视频缩放比例
-
isPlayoutDeviceMute(
) → Future< bool> - 获取当前音频播放设备是否静音
-
isRecordDeviceMute(
) → Future< bool> - 获取音频采集设备是否静音
-
isSpeakerphoneOn(
) → Future< bool> - 获取扬声器是否开启
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setAudioFocusMode(
int focusMode) → Future< int> - 设置音频焦点模式. 目前仅针对 Android 平台 [...]
-
setCameraFocusPosition(
double x, double y) → Future< int> - 设置对焦区域
-
setCameraTorchOn(
bool on) → Future< int> - 开启或关闭闪光灯
-
setCameraZoomFactor(
int factor) → Future< int> - 设置缩放
-
setEarBackVolume(
int volume) → Future< int> - 设置耳返音量 [...]
-
setEventCallback(
NERtcDeviceEventCallback callback) → Future< int> - 设置设备事件回调
-
setPlayoutDeviceMute(
bool mute) → Future< int> - 设置是否音频播放静音 [...]
-
setRecordDeviceMute(
bool mute) → Future< int> - 设置是否音频采集静音 [...]
-
setSpeakerphoneOn(
bool enable) → Future< int> - 设置扬声器是否开启
-
switchCamera(
) → Future< int> - 切换摄像头
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited