barkoder-capacitor
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -931,2 +931,18 @@ { | ||
{ | ||
"name": "setCamera", | ||
"signature": "(options: { value: number; }) => Promise<any>", | ||
"parameters": [ | ||
{ | ||
"name": "options", | ||
"docs": "", | ||
"type": "{ value: number; }" | ||
} | ||
], | ||
"returns": "Promise<any>", | ||
"tags": [], | ||
"docs": "Sets the camera to be used for scanning (back/front)", | ||
"complexTypes": [], | ||
"slug": "setcamera" | ||
}, | ||
{ | ||
"name": "isFlashAvailable", | ||
@@ -933,0 +949,0 @@ "signature": "() => Promise<any>", |
@@ -348,2 +348,8 @@ import { Plugin } from '@capacitor/core'; | ||
/** | ||
* Sets the camera to be used for scanning (back/front) | ||
*/ | ||
setCamera(options: { | ||
value: number; | ||
}): Promise<any>; | ||
/** | ||
* Checks whether the device has a built-in flash (torch) that can be used for illumination during barcode scanning | ||
@@ -559,2 +565,6 @@ */ | ||
} | ||
export declare enum BarkoderCameraPosition { | ||
BACK = 0, | ||
FRONT = 1 | ||
} | ||
export declare enum BarkoderResolution { | ||
@@ -561,0 +571,0 @@ HD = 0, |
@@ -36,2 +36,7 @@ export var DecodingSpeed; | ||
})(Code11ChecksumType || (Code11ChecksumType = {})); | ||
export var BarkoderCameraPosition; | ||
(function (BarkoderCameraPosition) { | ||
BarkoderCameraPosition[BarkoderCameraPosition["BACK"] = 0] = "BACK"; | ||
BarkoderCameraPosition[BarkoderCameraPosition["FRONT"] = 1] = "FRONT"; | ||
})(BarkoderCameraPosition || (BarkoderCameraPosition = {})); | ||
export var BarkoderResolution; | ||
@@ -38,0 +43,0 @@ (function (BarkoderResolution) { |
@@ -42,2 +42,7 @@ 'use strict'; | ||
})(exports.Code11ChecksumType || (exports.Code11ChecksumType = {})); | ||
exports.BarkoderCameraPosition = void 0; | ||
(function (BarkoderCameraPosition) { | ||
BarkoderCameraPosition[BarkoderCameraPosition["BACK"] = 0] = "BACK"; | ||
BarkoderCameraPosition[BarkoderCameraPosition["FRONT"] = 1] = "FRONT"; | ||
})(exports.BarkoderCameraPosition || (exports.BarkoderCameraPosition = {})); | ||
exports.BarkoderResolution = void 0; | ||
@@ -44,0 +49,0 @@ (function (BarkoderResolution) { |
@@ -39,2 +39,7 @@ var capacitorBarkoder = (function (exports, core) { | ||
})(exports.Code11ChecksumType || (exports.Code11ChecksumType = {})); | ||
exports.BarkoderCameraPosition = void 0; | ||
(function (BarkoderCameraPosition) { | ||
BarkoderCameraPosition[BarkoderCameraPosition["BACK"] = 0] = "BACK"; | ||
BarkoderCameraPosition[BarkoderCameraPosition["FRONT"] = 1] = "FRONT"; | ||
})(exports.BarkoderCameraPosition || (exports.BarkoderCameraPosition = {})); | ||
exports.BarkoderResolution = void 0; | ||
@@ -41,0 +46,0 @@ (function (BarkoderResolution) { |
@@ -74,10 +74,10 @@ [ | ||
"userDefinedMetadata" : { | ||
"stride" : "32", | ||
"com.github.apple.coremltools.version" : "7.2", | ||
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121", | ||
"com.github.apple.coremltools.source_dialect" : "TorchScript", | ||
"docs" : "https:\/\/docs.ultralytics.com", | ||
"stride" : "32", | ||
"task" : "obb", | ||
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121", | ||
"date" : "2024-08-01T09:34:45.251931", | ||
"imgsz" : "[256, 384]", | ||
"date" : "2024-08-01T09:34:45.251931", | ||
"batch" : "1", | ||
@@ -84,0 +84,0 @@ "names" : "{0: 'id_mrz_image', 1: 'mrz_2', 2: 'mrz_3', 3: 'id_mrz', 4: 'id_image', 5: 'face', 6: 'vin', 7: 'signature'}" |
@@ -77,5 +77,5 @@ [ | ||
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121", | ||
"com.github.apple.coremltools.source_dialect" : "TorchScript", | ||
"task" : "obb", | ||
"docs" : "https:\/\/docs.ultralytics.com", | ||
"task" : "obb", | ||
"com.github.apple.coremltools.source_dialect" : "TorchScript", | ||
"imgsz" : "[384, 512]", | ||
@@ -82,0 +82,0 @@ "date" : "2024-08-01T17:19:19.267647", |
@@ -75,4 +75,4 @@ [ | ||
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121", | ||
"com.github.apple.coremltools.source_dialect" : "TorchScript", | ||
"stride" : "32", | ||
"com.github.apple.coremltools.source_dialect" : "TorchScript", | ||
"docs" : "https:\/\/docs.ultralytics.com", | ||
@@ -79,0 +79,0 @@ "task" : "obb", |
@@ -74,10 +74,10 @@ [ | ||
"userDefinedMetadata" : { | ||
"stride" : "32", | ||
"com.github.apple.coremltools.version" : "7.2", | ||
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121", | ||
"com.github.apple.coremltools.source_dialect" : "TorchScript", | ||
"task" : "obb", | ||
"docs" : "https:\/\/docs.ultralytics.com", | ||
"task" : "obb", | ||
"stride" : "32", | ||
"imgsz" : "[384, 512]", | ||
"date" : "2024-08-01T17:19:19.267647", | ||
"imgsz" : "[384, 512]", | ||
"batch" : "1", | ||
@@ -84,0 +84,0 @@ "names" : "{0: 'id_mrz_image', 1: 'mrz_2', 2: 'mrz_3', 3: 'id_mrz', 4: 'id_image', 5: 'face', 6: 'vin', 7: 'signature'}" |
{ | ||
"name": "barkoder-capacitor", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "Capacitor plugin that connects to barkoderSDK which helps users scan barcodes with mobile devices", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
@@ -224,2 +224,3 @@ # barKoder Barcode Scanner SDK plugin for Capacitor | ||
* [`setVideoStabilization(...)`](#setvideostabilization) | ||
* [`setCamera(...)`](#setcamera) | ||
* [`isFlashAvailable()`](#isflashavailable) | ||
@@ -1254,2 +1255,19 @@ * [`isCloseSessionOnResultEnabled()`](#isclosesessiononresultenabled) | ||
### setCamera(...) | ||
```typescript | ||
setCamera(options: { value: number; }) => Promise<any> | ||
``` | ||
Sets the camera to be used for scanning (back/front) | ||
| Param | Type | | ||
| ------------- | ------------------------------- | | ||
| **`options`** | <code>{ value: number; }</code> | | ||
**Returns:** <code>Promise<any></code> | ||
-------------------- | ||
### isFlashAvailable() | ||
@@ -1256,0 +1274,0 @@ |
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
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
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
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 too big to display
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 too big to display
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
Sorry, the diff of this file is too big to display
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
83509427
28014
1851