delete setFocusPoint

Signed-off-by: mali <mali81@huawei.com>
This commit is contained in:
mali
2022-07-25 19:40:44 +08:00
parent c04cc277c3
commit d965e034f2
@@ -271,18 +271,6 @@ export function mockMultimediaCamera() {
});
}
},
setFocusPoint: function (...args) {
console.warn('CameraInput.setFocusPoint interface mocked in the Previewer. How this interface works on the' +
' Previewer may be different from that on a real device.');
const len = args.length;
if (typeof args[len - 1] === 'function') {
args[len - 1].call(this, paramMock.businessErrorMock);
} else {
return new Promise((resolve) => {
resolve();
});
}
},
getZoomRatioRange: function (...args) {
console.warn('CameraInput.getZoomRatioRange interface mocked in the Previewer. How this interface works on the' +
' Previewer may be different from that on a real device.');