@yoonit/nativescript-camera
Advanced tools
Comparing version 3.2.0 to 3.2.1
{ | ||
"name": "@yoonit/nativescript-camera", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Yoonit Camera have a custom view that shows a preview layer of the front/back camera and detects human faces in it and read qr code.", | ||
@@ -5,0 +5,0 @@ "main": "Yoonit.Camera", |
@@ -246,3 +246,2 @@ | ||
| setDetectionBoxColor | `color: string` | hexadecimal | void | Set detection box color. | | ||
| setFacePaddingPercent | `percentage: string` | Value format must be in `NN%` | void | Set face image capture and detection box padding in percentage. | | ||
| setDetectionMinSize | `percentage: string` | Value format must be in `NN%` | void | Set the face minimum size percentage to capture. | | ||
@@ -249,0 +248,0 @@ | setDetectionMaxSize | `percentage: string` | Value format must be in `NN%` | void | Set the face maximum size percentage to capture. | |
@@ -63,3 +63,2 @@ // +-+-+-+-+-+-+ | ||
setImageCaptureColorEncoding, | ||
setFacePaddingPercent, | ||
setDetectionBox, | ||
@@ -106,3 +105,2 @@ setDetectionBoxColor, | ||
setImageCaptureColorEncoding, | ||
setFacePaddingPercent, | ||
setDetectionBox, | ||
@@ -109,0 +107,0 @@ setDetectionBoxColor, |
@@ -129,5 +129,2 @@ import { ContentView } from '@nativescript/core'; | ||
setImageCaptureColorEncoding(colorEncoding) { } | ||
setFacePaddingPercent(percentage) { | ||
this.nativeView.setFacePaddingPercent(percentage); | ||
} | ||
setDetectionBox(enable) { | ||
@@ -246,10 +243,2 @@ this.nativeView.setDetectionBox(enable); | ||
__decorate([ | ||
PercentageToNumber, | ||
NativeMethod({ name: 'setFacePaddingPercent', length: 1 }), | ||
__param(0, Required), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Object]), | ||
__metadata("design:returntype", void 0) | ||
], CameraBase.prototype, "setFacePaddingPercent", null); | ||
__decorate([ | ||
ValidateProps('detectionBox', [false, true]), | ||
@@ -256,0 +245,0 @@ NativeMethod({ name: 'setDetectionBox', length: 1 }), |
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
75201
1197
344