removeWatermark

Removes a watermark from the watermark list.

public boolean removeWatermark(AgoraImage watermark) {
    if (watermarkList == null) {
      return false;
    }
    return watermarkList.remove(watermark);
  }

Details

This method only supports removing one watermark every time. If you need to removing more than one watermark, call this method multiple times.

Parameters

watermark
The watermark on the live video. Watermark images must be in the PNG format. See AgoraImage.

Returns

Whether the watermark is removed.
  • true: The watermark is removed.
  • false: The watermark is not removed.