Appearance
设置摄像头对比度百分比 1.2.0
方法名
setContrastPercent
用法
示例
js
this.$refs.refLevenUvcCamera.setContrastPercent({
//对比度百分比
"percent": 70
}, res => {
this.writeLog(JSON.stringify(res))
})参数说明
| 参数名 | 参数类型 | 是否必填 | 默认值 | 参数描述 |
|---|---|---|---|---|
| percent | Integer | 是 | 无 | 对比度百分比,取值范围:[0,100] |
回调
示例
json
{
"message": "",
"code": 0,
"data": {}
}回调说明
| 参数名 | 参数类型 | 参数描述 |
|---|---|---|
| message | String | 消息提示 |
| data | Object | 数据对象 |
| code | Integer | 返回类型,0.成功,其他:失败 |
