In-app Chat
On this page

Function Overview

2026-07-06

ZEGO ZIM SDKs provide rich APIs for you to quickly build in app chat capabilities into your applications.

ZEGO ZIM SDKs are available for all major platforms, including Android, iOS, Mac, Windows, and Web.

Audio plugin functions

MethodDescription
getVersionGets the SDK's version number.
setAdvancedConfigWithKeySet up SDK advanced configuration, please contact ZEGO technical support before use.
sharedInstanceGet SDK singleton object.
initWithLicense:Init ZIMAudio SDK
uninitUninit ZIMAudio SDK
setEventHandlerSets up the event notification callbacks that need to be handled.
enableANSEnables or disables active noise suppression (ANS, aka ANC).
enableAGCEnables or disables automatic gain control (AGC).
setANSParamSet noise suppression parameters, currently only includes noise suppression mode.
startRecordWithConfigStart record audio file.
completeRecordComplete record audio file.
cancelRecordCancel record audio file.
isRecordingGet whether recording is taking place.
setAudioRouteTypeSet audio routing type.
startPlayWithConfigStart playing audio file.
stopPlayStop playing audio file.
isPlayingGet whether it is playing.
onErrorSDK exception error notification.
onRecorderStartedRecording start notification.
onRecorderCompletedRecording completion notification.
onRecorderCancelledRecording cancellation notification.
onRecorderProgressRecording progress notification.
onRecorderFailedRecording failure notification.
onPlayerStartedPlay start notification.
onPlayerEndedPlayback end notification.
onPlayerStoppedPlay stop notification.
onPlayerProgressPlayback progress callback.
onPlayerInterruptedNotification that playback has been interrupted.
onPlayerFailedPlayback failure notification.

Previous

Enum

Next

Class

On this page

Back to top