Help Center/ Meeting/ Client SDK Reference/ Web SDK/ APIs/ Basic Settings/ Enabling or Disable Dotting Log Upload
Updated on 2025-04-18 GMT+08:00

Enabling or Disable Dotting Log Upload

API Description

This API is used to set whether to upload dotting logs to the server.

1. This API can be called before and during a meeting.

2. By default, dotting logs are uploaded to the server.

Method Definition

setAllowKeyLog(allowKeyLog):void

Parameter Description

Table 1 Description

Parameter

Mandatory

Type

Description

allowKeyLog

Yes

boolean

true: Dotting logs are uploaded to the server.

false: Dotting logs are not uploaded to the server.

Return Values

For details about the error structure, see Table 3.

Sample Code

/**  
* Enable or disable dotting log upload.
*/  
try {
  HWMeeting.setAllowKeyLog(true);
} catch (e) {
  ...
}