|
Agora Java API Reference for Android
|
Configuration options for adding a watermark to the video stream. More...
Public Member Functions | |
| String | getId () |
| Gets the watermark ID. More... | |
| int | getType () |
| Gets the watermark type. More... | |
| WatermarkBuffer | getBuffer () |
| Gets the watermark buffer. More... | |
| String | getImageUrl () |
| Gets the watermark image URL. More... | |
| WatermarkOptions | getOptions () |
| Gets the watermark display options. More... | |
Public Attributes | |
| String | id |
| int | type |
| WatermarkBuffer | buffer = new WatermarkBuffer() |
| String | imageUrl |
| WatermarkOptions | options = new WatermarkOptions() |
Static Public Attributes | |
| static final int | WATERMARK_TYPE_IMAGE = 0 |
| static final int | WATERMARK_TYPE_BUFFER = 1 |
Configuration options for adding a watermark to the video stream.
This class allows you to configure watermark properties such as type, image source, position, and size.
| String io.agora.rtc2.video.WatermarkConfig.getId | ( | ) |
Gets the watermark ID.
| int io.agora.rtc2.video.WatermarkConfig.getType | ( | ) |
Gets the watermark type.
| WatermarkBuffer io.agora.rtc2.video.WatermarkConfig.getBuffer | ( | ) |
Gets the watermark buffer.
| String io.agora.rtc2.video.WatermarkConfig.getImageUrl | ( | ) |
Gets the watermark image URL.
| WatermarkOptions io.agora.rtc2.video.WatermarkConfig.getOptions | ( | ) |
Gets the watermark display options.
|
static |
Specifies that the watermark is an image.
|
static |
Specifies that the watermark is provided as a buffer.
| String io.agora.rtc2.video.WatermarkConfig.id |
The unique identifier of the watermark. Usually generated using a UUID.
| int io.agora.rtc2.video.WatermarkConfig.type |
The type of the watermark. Can be either WATERMARK_TYPE_IMAGE or WATERMARK_TYPE_BUFFER.
| WatermarkBuffer io.agora.rtc2.video.WatermarkConfig.buffer = new WatermarkBuffer() |
The buffer that contains the watermark image data.
| String io.agora.rtc2.video.WatermarkConfig.imageUrl |
The URL from which to load the watermark image.
| WatermarkOptions io.agora.rtc2.video.WatermarkConfig.options = new WatermarkOptions() |
The options that define the position and size of the watermark.
1.8.18