Appearance
设置摄像头亮度百分比
注意
- 该方法回调为异步事件,请参考设置摄像头亮度百分比
方法名
setBrightnessPercent
用法
js
function setBrightnessPercent() {
const params : JSONObject = new JSONObject();
params.put("percent", 30);
refLevenUvc.value?.setBrightnessPercent(params)
}参数说明
| 参数名 | 参数类型 | 是否必填 | 默认值 | 参数描述 |
|---|---|---|---|---|
| percent | Integer | 是 | 无 | 亮度百分比,取值范围:[0,100] |