Agora Java API Reference for Android
Public Attributes | List of all members
agora::rtc::WatermarkTimestamp Struct Reference

The definition of the WatermarkTimestamp struct. More...

#include <AgoraBase.h>

Public Attributes

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

Detailed Description

The definition of the WatermarkTimestamp struct.

Since
4.6.0
Note
This is only supported in linux platform.

Member Data Documentation

◆ fontSize

int agora::rtc::WatermarkTimestamp::fontSize

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

◆ fontFilePath

const char* agora::rtc::WatermarkTimestamp::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 agora::rtc::WatermarkTimestamp::strokeWidth

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

◆ format

const char* agora::rtc::WatermarkTimestamp::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.