barkoder-nativescript 1.6.4 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/barkoder-nativescript.android.ts +58 -4
- package/barkoder-nativescript.common.ts +6 -2
- package/barkoder-nativescript.ios.ts +64 -3
- package/package.json +1 -1
- package/platforms/android/barkoder.aar +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Barkoder +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Headers/iBarkoder.h +12 -2
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Info.plist +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/default.metallib +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +3 -3
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/model.mil +1 -1
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/{ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc → ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc}/metadata.json +38 -38
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/model/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.net +5929 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.shape +1915 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.weights +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/neural_network_optionals/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Barkoder +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Headers/iBarkoder.h +12 -2
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Info.plist +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/_CodeSignature/CodeResources +78 -45
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/default.metallib +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +3 -3
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/model.mil +1 -1
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/{ios-arm64/Barkoder.framework/float16_384x256.mlmodelc → ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc}/metadata.json +38 -38
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/model/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.net +5929 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.shape +1915 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.weights +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/neural_network_optionals/coremldata.bin +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/BarkoderSDK +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +13 -13
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Info.plist +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.abi.json +338 -76
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +7 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftinterface +7 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +13 -7
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/BarkoderSDK +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +26 -26
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Info.plist +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +338 -76
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +7 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +7 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +338 -76
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +7 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +7 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +25 -25
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/templates.json +13 -7
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name BarkoderSDK
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name BarkoderSDK
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import AudioToolbox
|
|
7
7
|
import Barkoder
|
|
@@ -69,7 +69,7 @@ import _SwiftConcurrencyShims
|
|
|
69
69
|
@objc public var showDuplicatesLocations: Swift.Bool
|
|
70
70
|
@objc open func setRegionOfInterest(_ value: CoreFoundation.CGRect) throws
|
|
71
71
|
@objc open func getRegionOfInterest() -> CoreFoundation.CGRect
|
|
72
|
-
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (
|
|
72
|
+
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (Barkoder.LicenseCheckResult) -> Swift.Void)
|
|
73
73
|
@objc open func setThreadsLimit(_ value: Swift.Int) throws
|
|
74
74
|
@objc open func getThreadsLimit() -> Swift.Int
|
|
75
75
|
@objc open func setMulticodeCachingEnabled(_ boolean: Swift.Bool)
|
|
@@ -122,6 +122,7 @@ extension UIKit.UIImage {
|
|
|
122
122
|
@objc @_Concurrency.MainActor @preconcurrency public func setCamera(_ position: BarkoderSDK.BarkoderView.BarkoderCameraPosition)
|
|
123
123
|
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
124
124
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
125
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getCurrentZoomFactor() -> Swift.Float
|
|
125
126
|
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
126
127
|
@objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
|
|
127
128
|
@objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
|
|
@@ -195,6 +196,8 @@ extension CoreFoundation.CGRect {
|
|
|
195
196
|
@objc public var nonSelectedLocationLineWidth: Swift.Float
|
|
196
197
|
@objc public var locationType: BarkoderSDK.BarkoderARLocationType
|
|
197
198
|
@objc public var doubleTapToFreezeEnabled: Swift.Bool
|
|
199
|
+
@objc public var imageResultEnabled: Swift.Bool
|
|
200
|
+
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
198
201
|
@objc public var headerHeight: Swift.Float
|
|
199
202
|
@objc public var headerShowMode: BarkoderSDK.BarkoderARHeaderShowMode
|
|
200
203
|
@objc public var headerMaxTextHeight: Swift.Float
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name BarkoderSDK
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name BarkoderSDK
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import AudioToolbox
|
|
7
7
|
import Barkoder
|
|
@@ -69,7 +69,7 @@ import _SwiftConcurrencyShims
|
|
|
69
69
|
@objc public var showDuplicatesLocations: Swift.Bool
|
|
70
70
|
@objc open func setRegionOfInterest(_ value: CoreFoundation.CGRect) throws
|
|
71
71
|
@objc open func getRegionOfInterest() -> CoreFoundation.CGRect
|
|
72
|
-
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (
|
|
72
|
+
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (Barkoder.LicenseCheckResult) -> Swift.Void)
|
|
73
73
|
@objc open func setThreadsLimit(_ value: Swift.Int) throws
|
|
74
74
|
@objc open func getThreadsLimit() -> Swift.Int
|
|
75
75
|
@objc open func setMulticodeCachingEnabled(_ boolean: Swift.Bool)
|
|
@@ -122,6 +122,7 @@ extension UIKit.UIImage {
|
|
|
122
122
|
@objc @_Concurrency.MainActor @preconcurrency public func setCamera(_ position: BarkoderSDK.BarkoderView.BarkoderCameraPosition)
|
|
123
123
|
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
124
124
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
125
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getCurrentZoomFactor() -> Swift.Float
|
|
125
126
|
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
126
127
|
@objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
|
|
127
128
|
@objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
|
|
@@ -195,6 +196,8 @@ extension CoreFoundation.CGRect {
|
|
|
195
196
|
@objc public var nonSelectedLocationLineWidth: Swift.Float
|
|
196
197
|
@objc public var locationType: BarkoderSDK.BarkoderARLocationType
|
|
197
198
|
@objc public var doubleTapToFreezeEnabled: Swift.Bool
|
|
199
|
+
@objc public var imageResultEnabled: Swift.Bool
|
|
200
|
+
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
198
201
|
@objc public var headerHeight: Swift.Float
|
|
199
202
|
@objc public var headerShowMode: BarkoderSDK.BarkoderARHeaderShowMode
|
|
200
203
|
@objc public var headerMaxTextHeight: Swift.Float
|
package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json
CHANGED
|
@@ -141,6 +141,9 @@
|
|
|
141
141
|
"Japanese Post": {
|
|
142
142
|
"enabled": false
|
|
143
143
|
},
|
|
144
|
+
"MaxiCode": {
|
|
145
|
+
"enabled": true
|
|
146
|
+
},
|
|
144
147
|
"general": {
|
|
145
148
|
"maxThreads": 2,
|
|
146
149
|
"decodingSpeed": 1,
|
|
@@ -467,6 +470,9 @@
|
|
|
467
470
|
"enabled": true,
|
|
468
471
|
"dpmMode": 0
|
|
469
472
|
},
|
|
473
|
+
"MaxiCode": {
|
|
474
|
+
"enabled": true
|
|
475
|
+
},
|
|
470
476
|
"general": {
|
|
471
477
|
"maxThreads": 2,
|
|
472
478
|
"decodingSpeed": 2,
|
|
@@ -872,13 +878,7 @@
|
|
|
872
878
|
"beepOnSuccessEnabled": true,
|
|
873
879
|
"vibrateOnSuccessEnabled": false,
|
|
874
880
|
"arConfig": {
|
|
875
|
-
"arMode": 0
|
|
876
|
-
"resultDisappearanceDelayMs": 800,
|
|
877
|
-
"locationTransitionSpeed": 0.3,
|
|
878
|
-
"overlayRefresh": 0,
|
|
879
|
-
"locationType": 1,
|
|
880
|
-
"doubleTapToFreezeEnabled": true,
|
|
881
|
-
"headerShowMode": 2
|
|
881
|
+
"arMode": 0
|
|
882
882
|
}
|
|
883
883
|
},
|
|
884
884
|
"gallery_scan": {
|
|
@@ -1040,6 +1040,9 @@
|
|
|
1040
1040
|
"Japanese Post": {
|
|
1041
1041
|
"enabled": true
|
|
1042
1042
|
},
|
|
1043
|
+
"MaxiCode": {
|
|
1044
|
+
"enabled": true
|
|
1045
|
+
},
|
|
1043
1046
|
"general": {
|
|
1044
1047
|
"maxThreads": 2,
|
|
1045
1048
|
"decodingSpeed": 3,
|
|
@@ -1355,6 +1358,9 @@
|
|
|
1355
1358
|
"Japanese Post": {
|
|
1356
1359
|
"enabled": false
|
|
1357
1360
|
},
|
|
1361
|
+
"MaxiCode": {
|
|
1362
|
+
"enabled": false
|
|
1363
|
+
},
|
|
1358
1364
|
"general": {
|
|
1359
1365
|
"maxThreads": 2,
|
|
1360
1366
|
"decodingSpeed": 2,
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.
|
|
3
|
+
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
4
4
|
#ifndef BARKODERSDK_SWIFT_H
|
|
5
5
|
#define BARKODERSDK_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
# if __has_include(<uchar.h>)
|
|
66
66
|
# include <uchar.h>
|
|
67
67
|
# elif !defined(__cplusplus)
|
|
68
|
+
typedef unsigned char char8_t;
|
|
68
69
|
typedef uint_least16_t char16_t;
|
|
69
70
|
typedef uint_least32_t char32_t;
|
|
70
71
|
# endif
|
|
@@ -307,13 +308,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
307
308
|
#endif
|
|
308
309
|
|
|
309
310
|
#if defined(__OBJC__)
|
|
311
|
+
|
|
310
312
|
enum BarkoderARMode : NSInteger;
|
|
311
313
|
enum BarkoderAROverlayRefresh : NSInteger;
|
|
312
314
|
@class UIColor;
|
|
313
315
|
enum BarkoderARLocationType : NSInteger;
|
|
314
316
|
enum BarkoderARHeaderShowMode : NSInteger;
|
|
315
317
|
@class NSString;
|
|
316
|
-
|
|
317
318
|
/// Contains all configurable options for AR-related barcode behavior.
|
|
318
319
|
SWIFT_CLASS("_TtC11BarkoderSDK16BarkoderARConfig")
|
|
319
320
|
@interface BarkoderARConfig : NSObject
|
|
@@ -355,6 +356,14 @@ SWIFT_CLASS("_TtC11BarkoderSDK16BarkoderARConfig")
|
|
|
355
356
|
/// note:
|
|
356
357
|
/// Default value is <code>true</code>
|
|
357
358
|
@property (nonatomic) BOOL doubleTapToFreezeEnabled;
|
|
359
|
+
/// Enables or disables the capturing and processing of image data when a barcode is selected
|
|
360
|
+
/// note:
|
|
361
|
+
/// Default value is false
|
|
362
|
+
@property (nonatomic) BOOL imageResultEnabled;
|
|
363
|
+
/// Retrieve/Sets whether to enable barcode thumbnail on result
|
|
364
|
+
/// note:
|
|
365
|
+
/// Default value is false
|
|
366
|
+
@property (nonatomic) BOOL barcodeThumbnailOnResult;
|
|
358
367
|
/// Height of the header above the barcode.
|
|
359
368
|
/// note:
|
|
360
369
|
/// Default value is 19.0
|
|
@@ -434,7 +443,6 @@ typedef SWIFT_ENUM(NSInteger, BarkoderAROverlayRefresh, open) {
|
|
|
434
443
|
@class Config;
|
|
435
444
|
enum BarkoderResolution : NSInteger;
|
|
436
445
|
@class LicenseCheckResult;
|
|
437
|
-
|
|
438
446
|
SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
|
|
439
447
|
@interface BarkoderConfig : NSObject
|
|
440
448
|
/// Retrieves/Sets the color of the lines outlining the Region of Interest (ROI) for barcode scanning on the camera feed
|
|
@@ -549,7 +557,6 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
|
|
|
549
557
|
enum BarkoderConfigTemplate : NSInteger;
|
|
550
558
|
@class NSURL;
|
|
551
559
|
@class NSData;
|
|
552
|
-
|
|
553
560
|
SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderHelper")
|
|
554
561
|
@interface BarkoderHelper : NSObject
|
|
555
562
|
/// Scan barcode from bitmap image
|
|
@@ -619,22 +626,18 @@ typedef SWIFT_ENUM(NSInteger, BarkoderConfigTemplate, open) {
|
|
|
619
626
|
BarkoderConfigTemplateAr = 14,
|
|
620
627
|
};
|
|
621
628
|
|
|
622
|
-
|
|
623
|
-
|
|
624
629
|
SWIFT_PROTOCOL("_TtP11BarkoderSDK27BarkoderPerformanceDelegate_")
|
|
625
630
|
@protocol BarkoderPerformanceDelegate
|
|
626
631
|
@optional
|
|
627
632
|
- (void)performanceReceivedWithFps:(float)fps dps:(float)dps;
|
|
628
633
|
@end
|
|
629
634
|
|
|
630
|
-
|
|
631
635
|
SWIFT_PROTOCOL("_TtP11BarkoderSDK29BarkoderPreviewFramesDelegate_")
|
|
632
636
|
@protocol BarkoderPreviewFramesDelegate
|
|
633
637
|
@optional
|
|
634
638
|
- (void)cameraFrameReceivedWithSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;
|
|
635
639
|
@end
|
|
636
640
|
|
|
637
|
-
|
|
638
641
|
SWIFT_PROTOCOL("_TtP11BarkoderSDK22BarkoderResultDelegate_")
|
|
639
642
|
@protocol BarkoderResultDelegate
|
|
640
643
|
- (void)scanningFinished:(NSArray<DecoderResult *> * _Nonnull)decoderResults thumbnails:(NSArray<UIImage *> * _Nullable)thumbnails image:(UIImage * _Nullable)image;
|
|
@@ -642,7 +645,6 @@ SWIFT_PROTOCOL("_TtP11BarkoderSDK22BarkoderResultDelegate_")
|
|
|
642
645
|
|
|
643
646
|
@class NSCoder;
|
|
644
647
|
enum BarkoderCameraPosition : NSInteger;
|
|
645
|
-
|
|
646
648
|
SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
|
|
647
649
|
@interface BarkoderView : UIView <BarkoderPreviewFramesDelegate>
|
|
648
650
|
@property (nonatomic, strong) BarkoderConfig * _Nullable config;
|
|
@@ -679,6 +681,8 @@ SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
|
|
|
679
681
|
- (void)setFlash:(BOOL)enabled;
|
|
680
682
|
/// Retrieves the maximum available zoom factor for the device’s camera
|
|
681
683
|
- (void)getMaxZoomFactor:(void (^ _Nonnull)(float))completion;
|
|
684
|
+
/// Retrieves the current zoom factor for the device’s camera
|
|
685
|
+
- (float)getCurrentZoomFactor SWIFT_WARN_UNUSED_RESULT;
|
|
682
686
|
/// Checks whether the device has a built-in flash (torch) that can be used for illumination during barcode scanning
|
|
683
687
|
- (void)isFlashAvailable:(void (^ _Nonnull)(BOOL))completion;
|
|
684
688
|
/// Adjusts the camera’s exposure dynamically based on the provided intensity, cycling through predefined compensation values.
|
|
@@ -717,14 +721,10 @@ typedef SWIFT_ENUM(NSInteger, BarkoderCameraPosition, open) {
|
|
|
717
721
|
|
|
718
722
|
@class UIGestureRecognizer;
|
|
719
723
|
@class UITouch;
|
|
720
|
-
|
|
721
724
|
@interface BarkoderView (SWIFT_EXTENSION(BarkoderSDK)) <UIGestureRecognizerDelegate>
|
|
722
725
|
- (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
|
|
723
726
|
@end
|
|
724
727
|
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
728
|
@interface iBarkoder (SWIFT_EXTENSION(BarkoderSDK))
|
|
729
729
|
/// Retrieves the version of the Barkoder library
|
|
730
730
|
+ (NSString * _Nonnull)GetVersion SWIFT_WARN_UNUSED_RESULT;
|
|
@@ -740,7 +740,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderCameraPosition, open) {
|
|
|
740
740
|
#endif
|
|
741
741
|
|
|
742
742
|
#elif defined(__x86_64__) && __x86_64__
|
|
743
|
-
// Generated by Apple Swift version 6.
|
|
743
|
+
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
744
744
|
#ifndef BARKODERSDK_SWIFT_H
|
|
745
745
|
#define BARKODERSDK_SWIFT_H
|
|
746
746
|
#pragma clang diagnostic push
|
|
@@ -805,6 +805,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderCameraPosition, open) {
|
|
|
805
805
|
# if __has_include(<uchar.h>)
|
|
806
806
|
# include <uchar.h>
|
|
807
807
|
# elif !defined(__cplusplus)
|
|
808
|
+
typedef unsigned char char8_t;
|
|
808
809
|
typedef uint_least16_t char16_t;
|
|
809
810
|
typedef uint_least32_t char32_t;
|
|
810
811
|
# endif
|
|
@@ -1047,13 +1048,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
1047
1048
|
#endif
|
|
1048
1049
|
|
|
1049
1050
|
#if defined(__OBJC__)
|
|
1051
|
+
|
|
1050
1052
|
enum BarkoderARMode : NSInteger;
|
|
1051
1053
|
enum BarkoderAROverlayRefresh : NSInteger;
|
|
1052
1054
|
@class UIColor;
|
|
1053
1055
|
enum BarkoderARLocationType : NSInteger;
|
|
1054
1056
|
enum BarkoderARHeaderShowMode : NSInteger;
|
|
1055
1057
|
@class NSString;
|
|
1056
|
-
|
|
1057
1058
|
/// Contains all configurable options for AR-related barcode behavior.
|
|
1058
1059
|
SWIFT_CLASS("_TtC11BarkoderSDK16BarkoderARConfig")
|
|
1059
1060
|
@interface BarkoderARConfig : NSObject
|
|
@@ -1095,6 +1096,14 @@ SWIFT_CLASS("_TtC11BarkoderSDK16BarkoderARConfig")
|
|
|
1095
1096
|
/// note:
|
|
1096
1097
|
/// Default value is <code>true</code>
|
|
1097
1098
|
@property (nonatomic) BOOL doubleTapToFreezeEnabled;
|
|
1099
|
+
/// Enables or disables the capturing and processing of image data when a barcode is selected
|
|
1100
|
+
/// note:
|
|
1101
|
+
/// Default value is false
|
|
1102
|
+
@property (nonatomic) BOOL imageResultEnabled;
|
|
1103
|
+
/// Retrieve/Sets whether to enable barcode thumbnail on result
|
|
1104
|
+
/// note:
|
|
1105
|
+
/// Default value is false
|
|
1106
|
+
@property (nonatomic) BOOL barcodeThumbnailOnResult;
|
|
1098
1107
|
/// Height of the header above the barcode.
|
|
1099
1108
|
/// note:
|
|
1100
1109
|
/// Default value is 19.0
|
|
@@ -1174,7 +1183,6 @@ typedef SWIFT_ENUM(NSInteger, BarkoderAROverlayRefresh, open) {
|
|
|
1174
1183
|
@class Config;
|
|
1175
1184
|
enum BarkoderResolution : NSInteger;
|
|
1176
1185
|
@class LicenseCheckResult;
|
|
1177
|
-
|
|
1178
1186
|
SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
|
|
1179
1187
|
@interface BarkoderConfig : NSObject
|
|
1180
1188
|
/// Retrieves/Sets the color of the lines outlining the Region of Interest (ROI) for barcode scanning on the camera feed
|
|
@@ -1289,7 +1297,6 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
|
|
|
1289
1297
|
enum BarkoderConfigTemplate : NSInteger;
|
|
1290
1298
|
@class NSURL;
|
|
1291
1299
|
@class NSData;
|
|
1292
|
-
|
|
1293
1300
|
SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderHelper")
|
|
1294
1301
|
@interface BarkoderHelper : NSObject
|
|
1295
1302
|
/// Scan barcode from bitmap image
|
|
@@ -1359,22 +1366,18 @@ typedef SWIFT_ENUM(NSInteger, BarkoderConfigTemplate, open) {
|
|
|
1359
1366
|
BarkoderConfigTemplateAr = 14,
|
|
1360
1367
|
};
|
|
1361
1368
|
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
1369
|
SWIFT_PROTOCOL("_TtP11BarkoderSDK27BarkoderPerformanceDelegate_")
|
|
1365
1370
|
@protocol BarkoderPerformanceDelegate
|
|
1366
1371
|
@optional
|
|
1367
1372
|
- (void)performanceReceivedWithFps:(float)fps dps:(float)dps;
|
|
1368
1373
|
@end
|
|
1369
1374
|
|
|
1370
|
-
|
|
1371
1375
|
SWIFT_PROTOCOL("_TtP11BarkoderSDK29BarkoderPreviewFramesDelegate_")
|
|
1372
1376
|
@protocol BarkoderPreviewFramesDelegate
|
|
1373
1377
|
@optional
|
|
1374
1378
|
- (void)cameraFrameReceivedWithSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;
|
|
1375
1379
|
@end
|
|
1376
1380
|
|
|
1377
|
-
|
|
1378
1381
|
SWIFT_PROTOCOL("_TtP11BarkoderSDK22BarkoderResultDelegate_")
|
|
1379
1382
|
@protocol BarkoderResultDelegate
|
|
1380
1383
|
- (void)scanningFinished:(NSArray<DecoderResult *> * _Nonnull)decoderResults thumbnails:(NSArray<UIImage *> * _Nullable)thumbnails image:(UIImage * _Nullable)image;
|
|
@@ -1382,7 +1385,6 @@ SWIFT_PROTOCOL("_TtP11BarkoderSDK22BarkoderResultDelegate_")
|
|
|
1382
1385
|
|
|
1383
1386
|
@class NSCoder;
|
|
1384
1387
|
enum BarkoderCameraPosition : NSInteger;
|
|
1385
|
-
|
|
1386
1388
|
SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
|
|
1387
1389
|
@interface BarkoderView : UIView <BarkoderPreviewFramesDelegate>
|
|
1388
1390
|
@property (nonatomic, strong) BarkoderConfig * _Nullable config;
|
|
@@ -1419,6 +1421,8 @@ SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
|
|
|
1419
1421
|
- (void)setFlash:(BOOL)enabled;
|
|
1420
1422
|
/// Retrieves the maximum available zoom factor for the device’s camera
|
|
1421
1423
|
- (void)getMaxZoomFactor:(void (^ _Nonnull)(float))completion;
|
|
1424
|
+
/// Retrieves the current zoom factor for the device’s camera
|
|
1425
|
+
- (float)getCurrentZoomFactor SWIFT_WARN_UNUSED_RESULT;
|
|
1422
1426
|
/// Checks whether the device has a built-in flash (torch) that can be used for illumination during barcode scanning
|
|
1423
1427
|
- (void)isFlashAvailable:(void (^ _Nonnull)(BOOL))completion;
|
|
1424
1428
|
/// Adjusts the camera’s exposure dynamically based on the provided intensity, cycling through predefined compensation values.
|
|
@@ -1457,14 +1461,10 @@ typedef SWIFT_ENUM(NSInteger, BarkoderCameraPosition, open) {
|
|
|
1457
1461
|
|
|
1458
1462
|
@class UIGestureRecognizer;
|
|
1459
1463
|
@class UITouch;
|
|
1460
|
-
|
|
1461
1464
|
@interface BarkoderView (SWIFT_EXTENSION(BarkoderSDK)) <UIGestureRecognizerDelegate>
|
|
1462
1465
|
- (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
|
|
1463
1466
|
@end
|
|
1464
1467
|
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
1468
|
@interface iBarkoder (SWIFT_EXTENSION(BarkoderSDK))
|
|
1469
1469
|
/// Retrieves the version of the Barkoder library
|
|
1470
1470
|
+ (NSString * _Nonnull)GetVersion SWIFT_WARN_UNUSED_RESULT;
|