AnsMode enum

降噪模式。

降噪算法受调用 RTCRoom.joinRoom 时设置的房间模式影响。

Inheritance

Constructors

AnsMode()
const

Values

disable → const AnsMode

关闭所有音频降噪能力。

low → const AnsMode

适用于微弱降噪。

medium → const AnsMode

适用于抑制中度平稳噪声,如空调声和风扇声。

high → const AnsMode

适用于抑制嘈杂非平稳噪声,如键盘声、敲击声、碰撞声、动物叫声。

automatic → const AnsMode

启用音频降噪能力。具体的降噪算法由 RTC 智能决策。

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<AnsMode>
A constant List of the values in this enum, in order of their declaration.