Agora RTC Objective-C API Reference  Refactor
Properties
WatermarkBuffer Class Reference

Inherits <NSObject>.

Properties

int width
 
int height
 
int length
 
NSData *_Nullable buffer
 
WatermarkBufferFormat format
 

Detailed Description

Since
4.6.0

Defines the buffer data structure of the watermark image, including image width, height, format, length, and image data buffer.

Property Documentation

◆ width

- (int) width
readwritenonatomicassign

Width of the watermark image, in pixels.

◆ height

- (int) height
readwritenonatomicassign

Height of the watermark image, in pixels.

◆ length

- (int) length
readwritenonatomicassign

Length of the buffer, in bytes.

◆ buffer

- (NSData* _Nullable) buffer
readwritenonatomicstrong

Raw image data buffer.

◆ format

- (WatermarkBufferFormat) format
readwritenonatomicassign

Format of the watermark buffer. See WatermarkBufferFormat.