In-app Chat
On this page

Function Overview

2026-06-24

The ZEGOCLOUD In-app Chat SDK has network nodes comprehensively covering key regions worldwide, providing rich APIs to offer developers cross-platform interactive, high-concurrency, ultra-low-latency, guaranteed-message-delivery communication services, helping to build scenarios such as large-scale live streaming and audio chat rooms.

Audio Component Functions

MethodDescription
getVersionGets the SDK version number.
setAdvancedConfigSets advanced SDK configuration. Please contact ZEGOCLOUD Technical Support before use.
getInstanceGets the SDK singleton object.
initInitializes the ZIMAudio SDK
uninitDeinitializes the ZIMAudio SDK
setEventHandlerSets the event notification callback.
enableANSEnables or disables noise suppression
enableAGCEnables or disables automatic gain control
setANSParamSets noise suppression parameters, currently only includes noise suppression mode
startRecordStarts recording an audio file
completeRecordCompletes recording an audio file
cancelRecordStops recording an audio file
isRecordingGets whether recording is in progress
setAudioRouteTypeSets the audio route type
startPlayStarts playing an audio file
stopPlayStops playing an audio file
isPlayingGets whether playback is in progress
onErrorSDK error notification
onRecorderStartedRecording started notification
onRecorderCompletedRecording completed notification
onRecorderCancelledRecording cancelled notification
onRecorderProgressRecording progress notification
onRecorderFailedRecording failed notification
onPlayerStartedPlayback started notification
onPlayerEndedPlayback ended notification
onPlayerStoppedPlayback stopped notification
onPlayerProgressPlayback progress callback
onPlayerInterruptedPlayback interrupted notification
onPlayerFailedPlayback failed notification

Previous

Enum

Next

Class

On this page

Back to top