Agora RTC Objective-C API Reference  Refactor
Data Fields
WatermarkTimestamp Struct Reference

Data Fields

int fontSize
 
const char * fontFilePath
 
int strokeWidth
 
const char * format
 

Detailed Description

Since
4.6.0
Note
This is only supported in linux platform.

Constructor & Destructor Documentation

◆ WatermarkTimestamp()

WatermarkTimestamp ( )
inline

Field Documentation

◆ fontSize

int fontSize

The font size of the timestamp. The default value is 10.

◆ fontFilePath

const char* fontFilePath

The path of the font file for the timestamp. The default value is NULL. The font file should be a .ttf file. If not set, the SDK uses the system default font if available.

Note
If used asynchronously, copy the path to memory that will not be released.

◆ strokeWidth

int strokeWidth

The stroke width of the timestamp. The default value is 1.

◆ format

const char* format

The format of the timestamp. The default is 'F X'. The format follows the standard C library function strftime. You can find in the website: https://cplusplus.com/reference/ctime/strftime/?kw=strftime

Note
If used asynchronously, copy the format string to memory that will not be released.