ZegoAudioDeviceMode enum

Audio device mode.

Inheritance
  • Object
  • Enum
  • ZegoAudioDeviceMode

Constructors

ZegoAudioDeviceMode()
const

Values

Communication → const ZegoAudioDeviceMode

Enable system echo cancellation.

General → const ZegoAudioDeviceMode

The system echo cancellation function is disabled.

Auto → const ZegoAudioDeviceMode

Automatically select whether to enable system echo cancellation based on the scenario.

Communication2 → const ZegoAudioDeviceMode

Enable system echo cancellation. Compared with Communication, this mode always occupies the microphone device.

Communication3 → const ZegoAudioDeviceMode

Enable system echo cancellation. Compared with Communication, in this mode, the microphone is released and the media volume is reduced.

General2 → const ZegoAudioDeviceMode

Disable system echo cancellation. Compared with General, this mode is not released when a microphone device is used.

General3 → const ZegoAudioDeviceMode

Disable system echo cancellation. Compared with General, this mode will always occupy the microphone device.

Communication4 → const ZegoAudioDeviceMode

Enable system echo cancellation. Compared with Communication, this mode of wheat after releasing the microphone, maintain the call volume.

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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]