Agora Java API Reference for Android
io.agora.rtc.video.WatermarkOptions Class Reference

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

◆ 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.

◆ 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 the advanced guide 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 the advanced guide Rotate the Video.