Help Center/ Meeting/ Client SDK Reference/ Android SDK/ API Reference/ UI Customization/ Customizing the Button of Adding a Virtual Background Image
Updated on 2024-12-27 GMT+08:00

Customizing the Button of Adding a Virtual Background Image

This API is used to customize the button of adding a virtual background image.

Precautions

None

Method Definition

void onClickAddVirtualBackgroundItem(Activity curActivity);

Sample Code
public class CustomVirtualBackgroundHandle implements IVirtualBackgroundHandle {
    @Override
    public void onClickAddVirtualBackgroundItem(Activity curActivity) {
        DemoUtil.showToast("You will be redirected to a screen for setting a virtual background.");
        showPictureActivity(curActivity);
    }
}