dynamsoft-capture-vision-cordova
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "dynamsoft-capture-vision-cordova", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Dynamsoft Capture Vision Cordova SDK", | ||
@@ -5,0 +5,0 @@ "homepage": "https://www.dynamsoft.com/capture-vision/docs/introduction", |
@@ -45,2 +45,4 @@ import { BarcodeResult } from './BarcodeResult'; | ||
resetRuntimeSettings(): void; | ||
setMinImageReadingInterval(interval: number): void; | ||
getMinImageReadingInterval(): Promise<number>; | ||
} |
@@ -107,3 +107,11 @@ "use strict"; | ||
} | ||
setMinImageReadingInterval(interval) { | ||
(0, exec_1.default)(null, null, 'DynamsoftCordovaPlugin', 'setMinImageReadingInterval', [interval]); | ||
} | ||
getMinImageReadingInterval() { | ||
return new Promise(function (resolve, reject) { | ||
(0, exec_1.default)((interval) => resolve(interval), null, 'DynamsoftCordovaPlugin', 'getMinImageReadingInterval', []); | ||
}); | ||
} | ||
} | ||
exports.DCVBarcodeReader = DCVBarcodeReader; |
@@ -264,2 +264,4 @@ declare module Dynamsoft { | ||
resetRuntimeSettings(): void; | ||
setMinImageReadingInterval(interval: number): void; | ||
getMinImageReadingInterval(interval: number): Promise<number>; | ||
} | ||
@@ -266,0 +268,0 @@ export class DCVCameraEnhancer { |
@@ -180,2 +180,10 @@ System.register("BasicStructures", [], function (exports_1, context_1) { | ||
} | ||
setMinImageReadingInterval(interval) { | ||
(0, exec_1.default)(null, null, 'DynamsoftCordovaPlugin', 'setMinImageReadingInterval', [interval]); | ||
} | ||
getMinImageReadingInterval(interval) { | ||
return new Promise(function (resolve, reject) { | ||
(0, exec_1.default)((interval) => resolve(interval), null, 'DynamsoftCordovaPlugin', 'getMinImageReadingInterval', []); | ||
}); | ||
} | ||
}; | ||
@@ -182,0 +190,0 @@ exports_5("DCVBarcodeReader", DCVBarcodeReader); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
274593
53
1984