WatermarkOptions Class Reference
Inherits from | NSObject |
---|---|
Declared in | AgoraObjects.h |
visibleInPreview
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
positionInLandscapeMode
The watermark position in landscape mode of Rotate the Video. This parameter contains the following members:
@property (assign, nonatomic) CGRect positionInLandscapeMode
Discussion
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.
Declared In
AgoraObjects.h
positionInPortraitMode
The watermark position in portrait mode of Rotate the Video. This parameter contains the following members:
@property (assign, nonatomic) CGRect positionInPortraitMode
Discussion
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.
Declared In
AgoraObjects.h