Customizing a Watermark for a Meeting
Function
This API is used to customize a watermark. If not specified, the internal priorities are used to display the watermark. 1. Call this API before a meeting. Calling this API during a meeting does not take effect. 2. If the enterprise-level watermark function is disabled, the custom watermark content injection does not take effect.
Function Prototype
setWaterMark(waterMarkInfo: WaterMarkInfo, onSetWaterMarkResult?: (ret: SDKERR, reason: string) => void): voidsetWaterMark(waterMarkInfo: WaterMarkInfo, onSetWaterMarkResult?: (ret: SDKERR, reason: string) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
waterMarkInfo | Yes | WaterMarkInfo | Watermark injection information. |
onSetWaterMarkResult | Yes | (ret: SDKERR, reason: string) => void | Callback of configuring watermark injection information. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
content | No | string | Custom watermark injection content. |
color | No | WaterMarkColorType | Watermark font color. 0: light; 1: standard; 2: dark. |
Enumeration Name | Enumerated Value | Description |
---|---|---|
HWM_WATERMARK_COLOR_TYPE_LIGHT | 0 | Light #CCCCCC |
HWM_WATERMARK_COLOR_TYPE_STANDARD | 1 | Standard #999999 |
HWM_WATERMARK_COLOR_TYPE_DARKER | 2 | Dark #666666 |
Return Values
void
Callback Method Parameters
(ret: SDKERR, reason: string) => void
Parameter | Type | Description |
---|---|---|
ret | For details about SDKERR, see Error Code Reference. | Error code. |
reason | string | Error description. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot