Agora Java API Reference for Android

Classes | Public Attributes | List of all members
io.agora.rtc2.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.rtc2.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.rtc2.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.rtc2.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.