Agora C++ API Reference for All Platforms
|
Public Member Functions | |
WatermarkOptions () | |
Public Attributes | |
bool | visibleInPreview |
Rectangle | positionInLandscapeMode |
Rectangle | positionInPortraitMode |
WatermarkRatio | watermarkRatio |
WATERMARK_FIT_MODE | mode |
Configurations of the watermark image.
|
inline |
bool agora::rtc::WatermarkOptions::visibleInPreview |
Whether or not the watermark image is visible in the local video preview:
Rectangle agora::rtc::WatermarkOptions::positionInLandscapeMode |
When the adaptation mode of the watermark is FIT_MODE_COVER_POSITION
, it is used to set the area of the watermark image in landscape mode. See FIT_MODE_COVER_POSITION for details.
Rectangle agora::rtc::WatermarkOptions::positionInPortraitMode |
When the adaptation mode of the watermark is FIT_MODE_COVER_POSITION
, it is used to set the area of the watermark image in portrait mode. See FIT_MODE_COVER_POSITION for details.
WatermarkRatio agora::rtc::WatermarkOptions::watermarkRatio |
When the watermark adaptation mode is FIT_MODE_USE_IMAGE_RATIO
, this parameter is used to set the watermark coordinates. See WatermarkRatio for details.
WATERMARK_FIT_MODE agora::rtc::WatermarkOptions::mode |
The adaptation mode of the watermark. See WATERMARK_FIT_MODE for details.