setReverbType method

void setReverbType(
  1. ZegoReverbPreset reverbPreset
)

Set reverb Description: This method can be used to use the reverb effect in the room.

Call this method at: After joining a room

@param reverbPreset refers to the reverb type you want to select.

Implementation

void setReverbType(ZegoReverbPreset reverbPreset) {
  ZegoLoggerService.logInfo(
    'set reverb type: $reverbPreset',
    tag: 'uikit',
    subTag: 'effect service',
  );
  ZegoExpressEngine.instance.setReverbPreset(reverbPreset);
}