ZegoAudioDeviceMode enum
音频设备模式
- Inheritance
-
- Object
- Enum
- ZegoAudioDeviceMode
Constructors
- ZegoAudioDeviceMode()
-
const
Values
- Communication → const ZegoAudioDeviceMode
-
开启系统回声消除
- General → const ZegoAudioDeviceMode
-
关闭系统回声消除
- Auto → const ZegoAudioDeviceMode
-
根据场景自动选择是否开启系统回声消除
- Communication2 → const ZegoAudioDeviceMode
-
开启系统回声消除,与 Communication 相比,该模式会始终占用麦克风设备
- Communication3 → const ZegoAudioDeviceMode
-
开启系统回声消除,与 Communication 相比,该模式下麦后释放麦克风,切回媒体音量
- General2 → const ZegoAudioDeviceMode
-
关闭系统回声消除,与 General 相比,该模式使用麦克风设备后不会释放
- General3 → const ZegoAudioDeviceMode
-
关闭系统回声消除,与 General 相比,该模式会始终占用麦克风设备
- Communication4 → const ZegoAudioDeviceMode
-
开启系统回声消除,与 Communication 相比,该模式下麦后释放麦克风,维持通话音量
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Constants
-
values
→ const List<
ZegoAudioDeviceMode> -
A constant List of the values in this enum, in order of their declaration.
[Communication, General, Auto, Communication2, Communication3, General2, General3, Communication4]