Documentation
Interactive Live Streaming Premium (Legacy)
API Reference
WatermarkOptions Class Reference
Agora Objective-C API Reference for iOS/macOS
WatermarkOptions Class Reference
Inherits from |
NSObject |
Declared in |
AgoraObjects.h |
Overview
The options of the watermark image to be added.
Sets whether or not the watermark image is visible in the local video preview:
@property (assign, nonatomic) BOOL visibleInPreview
Discussion
- YES: (Default) The watermark image is visible in preview.
- NO: The watermark image is not visible in preview.
Declared In
AgoraObjects.h
The watermark position in landscape mode of Rotate the Video. This parameter contains the following members:
x
: The horizontal offset of the watermark from the top-left corner.
y
: The vertical offset of the watermark from the top-left corner.
width
: The width (pixel) of the watermark region.
height
: The height (pixel) of the watermark region.
@property (assign, nonatomic) CGRect positionInLandscapeMode
Declared In
AgoraObjects.h
The watermark position in portrait mode of Rotate the Video. This parameter contains the following members:
x
: The horizontal offset of the watermark from the top-left corner.
y
: The vertical offset of the watermark from the top-left corner.
width
: The width (pixel) of the watermark region.
height
: The height (pixel) of the watermark region.
@property (assign, nonatomic) CGRect positionInPortraitMode
Declared In
AgoraObjects.h