Agora RTC Objective-C API Reference Refactor

Data Fields
WatermarkConfig Struct Reference

## Data Fields
const char * | id
WATERMARK_SOURCE_TYPE | type
WatermarkOptions | options
WatermarkBuffer | buffer
WatermarkTimestamp | timestamp
WatermarkLiteral | literal
const char * | imageUrl

## Detailed Description

Since
  4.6.0

## Constructor & Destructor Documentation

## ◆ WatermarkConfig()

WatermarkConfig | ( |  | ) |
| inline

## Field Documentation

## ◆ id

const char* id

Unique identifier for the watermark. It is recommended to use a UUID.

## ◆ type

WATERMARK_SOURCE_TYPE type

Type of the watermark. See `WATERMARK_SOURCE_TYPE`.

## ◆ buffer

WatermarkBuffer buffer

Buffer of the watermark. See `WatermarkBuffer`.

## ◆ timestamp

WatermarkTimestamp timestamp

The watermark timestamp. See WatermarkTimestamp.

Note
  This is only supported in linux platform.

## ◆ literal

WatermarkLiteral literal

The watermark literal. See WatermarkLiteral.

Note
  This is only supported in linux platform.

## ◆ imageUrl

const char* imageUrl

URL of the watermark image file. Default value is NULL.

## ◆ @1

union { ... }

## ◆ options

WatermarkOptions options

Options for the watermark. See `WatermarkOptions`.