logoUIKit
On this page

Hide the label on the user view

By default, the Call Kit (ZegoUIKitPrebuiltCall) displays UserNameLabel, MicrophoneStateIcon, and CameraStateIcon floating above the view. If these components are not needed, you can hide them using the following three configurations in audioVideoViewConfig.

ConfigEffects
1. showMicrophoneStateOnView: whether to display the microphone state on the view. Displayed by default.

2. showCameraStateOnView: Whether to display the camera state on the view. Displayed by default.

3. showUserNameOnView: Indicates whether to display the username on the view. Displayed by default.

Hide sound waves and user avatars

As shown in the rendering, the Call Kit (ZegoUIKitPrebuiltCall) displays the user's avatar and sound waves when the camera is turned off. If you are not satisfied with the user avatars and sound wave style, you can hide them using the following two configurations in audioVideoViewConfig:

ConfigEffects
1. showAvatarInAudioMode: Whether to display the user avatars in audio mode. Displayed by default.

2. showSoundWavesInAudioMode: in audio mode, whether to display the sound waves around the user avatar in audio mode. Displayed by default.

Previous

Configure layouts

Next

Implement an audio only call

On this page

Back to top