|
Agora Java API Reference for Android
|
Used to configure watermark-related information. More...
Public Member Functions | |
| String | getId () |
| Retrieves the unique ID of the watermark. More... | |
| int | getType () |
| Gets the type of the watermark. More... | |
| WatermarkBuffer | getBuffer () |
| Gets the watermark buffer. More... | |
| String | getImageUrl () |
| Gets the URL of the watermark image. More... | |
| WatermarkOptions | getOptions () |
| Retrieves 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 |
Used to configure watermark-related information.
| String io.agora.rtc2.video.WatermarkConfig.getId | ( | ) |
Retrieves the unique ID of the watermark.
Used to obtain the unique identifier of the watermark from a WatermarkBuffer or WatermarkConfig instance.
| int io.agora.rtc2.video.WatermarkConfig.getType | ( | ) |
Gets the type of the watermark.
Used to get the type information in the current watermark configuration.
WATERMARK_TYPE_IMAGE: Image watermark.WATERMARK_TYPE_BUFFER: Buffer watermark. | WatermarkBuffer io.agora.rtc2.video.WatermarkConfig.getBuffer | ( | ) |
Gets the watermark buffer.
| String io.agora.rtc2.video.WatermarkConfig.getImageUrl | ( | ) |
Gets the URL of the watermark image.
| WatermarkOptions io.agora.rtc2.video.WatermarkConfig.getOptions | ( | ) |
Retrieves watermark display options.
Used to retrieve the currently configured watermark display options.
WatermarkOptions object, if the method call succeeds.
|
static |
Specifies the watermark type as image.
|
static |
Specifies the watermark type as buffer.
| String io.agora.rtc2.video.WatermarkConfig.id |
Unique identifier for the watermark, usually generated using UUID.
| int io.agora.rtc2.video.WatermarkConfig.type |
Type of the watermark:
WATERMARK_TYPE_IMAGE: image type.WATERMARK_TYPE_BUFFER: Buffer type. | WatermarkBuffer io.agora.rtc2.video.WatermarkConfig.buffer = new WatermarkBuffer() |
Buffer containing watermark image data. See WatermarkBuffer.
| String io.agora.rtc2.video.WatermarkConfig.imageUrl |
URL address used to load the watermark image.
| WatermarkOptions io.agora.rtc2.video.WatermarkConfig.options = new WatermarkOptions() |
Options defining the position and size of the watermark. See WatermarkOptions.
1.8.18