Updated on 2023-03-23 GMT+08:00

Hiding the External Label

By default, the External label is displayed for external enterprise users and anonymous users in the participant list.

You can configure whether to hide the External label in OpenSDKConfig.

Application Scenarios

If you do not want to display the External label in your application, you can hide it.

Precautions

1. sdkConfig takes effect only when this configuration is passed during SDK initialization.

Sample Code
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
// Customize whether to hide the External label.
sdkConfig.setHideExternalLabelHandle(new IHideExternalLabelHandle() {
    @Override
    public boolean onHideExternalLabelEvent() {
        // true: indicates to hide the label; false: indicates to display the label.
        return DemoUtil.needCustom(NeedCustomType.HIDE_EXTERNAL_LABEL);
    }
});

ConfUI.setHideExternalLabelHandle(sdkConfig.getHideExternalLabelHandle());