Appearance
设置曝光
注意
该方法回调为异步事件,请参考方法事件
方法名
setExposure
用法
js
this.exposure++;
if (this.exposure > 24) {
this.exposure = -24;
}
this.$refs.refCamera.setExposure({
value: this.exposure
});js
exposure.value++;
if (exposure.value > 24) {
exposure.value = -24;
}
let options = {
value: exposure.value
};
let params : JSONObject = JSONObject.parse(JSON.stringify(options)) as JSONObject
refLevenCamera.value?.setExposure(params);参数说明
| 参数名 | 参数类型 | 是否必填 | 默认值 | 参数描述 |
|---|---|---|---|---|
| value | Integer | 是 | 无 | 曝光值,取值范围可通过获取相机支持的曝光度接口获取 |
