Classes

class  Rectangle
 

Public Attributes

boolean visibleInPreview = true
 
Rectangle positionInLandscapeMode = new Rectangle()
 
Rectangle positionInPortraitMode = new Rectangle()
 

Detailed Description

Agora watermark options. A class for setting the properties of watermark.

Member Data Documentation

◆ positionInLandscapeMode

Rectangle io.agora.rtc.video.WatermarkOptions.positionInLandscapeMode = new Rectangle()

The watermark position in the landscape mode. See Rectangle. See details for the landscape mode in Rotate the video.

◆ positionInPortraitMode

Rectangle io.agora.rtc.video.WatermarkOptions.positionInPortraitMode = new Rectangle()

The watermark position in the portrait mode. See Rectangle. See details for the portrait mode in Rotate the video.

◆ visibleInPreview

boolean io.agora.rtc.video.WatermarkOptions.visibleInPreview = true

Sets whether or not the watermark image is visible in the local video preview:

  • true: (Default) The watermark image is visible in preview.
  • false: The watermark image is not visible in preview.