addBackgroundImage

Adds a background image.

public void addBackgroundImage(AgoraImage backgroundImage) {
    if (backgroundImageList == null) {
      backgroundImageList = new ArrayList<AgoraImage>();
    }
    backgroundImageList.add(backgroundImage);
  }

Details

This method only supports adding one background image at a time. If you need to add more than one background images, call this method multiple times.

The total number of watermarks and background images can range from 0 to 10.

Parameters

backgroundImage
The number of background images on the live video. Watermark images must be in the PNG format. See AgoraImage.