barkoder-nativescript 0.0.1
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/index.d.ts +9 -0
- package/package.json +81 -0
- package/platforms/android/README.md +9 -0
- package/platforms/android/barkoder.aar +0 -0
- package/platforms/android/barkoder_nativescript.aar +0 -0
- package/platforms/android/include.gradle +11 -0
- package/platforms/ios/Barkoder.xcframework/Info.plist +44 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Barkoder +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Headers/Barkoder.h +13 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Headers/iBarkoder.h +494 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Info.plist +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/default.metallib +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/Barkoder.h +13 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Headers/iBarkoder.h +494 -0
- 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/Modules/module.modulemap +6 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/_CodeSignature/CodeResources +146 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/default.metallib +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/Info.plist +44 -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 +528 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Headers/BarkoderSDK.h +17 -0
- 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 +8416 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +141 -0
- 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 +141 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/module.modulemap +11 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/beep.mp3 +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +671 -0
- 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 +1052 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Headers/BarkoderSDK.h +17 -0
- 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 +8416 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +141 -0
- 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 +141 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +8416 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +141 -0
- 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 +141 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/module.modulemap +11 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +327 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/beep.mp3 +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/templates.json +671 -0
- package/platforms/ios/Info.plist +7 -0
- package/platforms/ios/README.md +9 -0
- package/platforms/ios/build.xcconfig +0 -0
- package/references.d.ts +2 -0
- package/typings/ios/objc!Barkoder.d.ts +662 -0
- package/typings/ios/objc!BarkoderSDK.d.ts +185 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BarkoderSDK
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import AVFoundation
|
|
6
|
+
import Barkoder
|
|
7
|
+
@_exported import BarkoderSDK
|
|
8
|
+
import CoreMedia
|
|
9
|
+
import Foundation
|
|
10
|
+
import Swift
|
|
11
|
+
import UIKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
import _SwiftConcurrencyShims
|
|
15
|
+
@objc public protocol BarkoderResultDelegate {
|
|
16
|
+
@objc func scanningFinished(_ decoderResults: [Barkoder.DecoderResult], thumbnails: [UIKit.UIImage]?, image: UIKit.UIImage?)
|
|
17
|
+
}
|
|
18
|
+
@_inheritsConvenienceInitializers @objc public class BarkoderConfig : ObjectiveC.NSObject {
|
|
19
|
+
@objc public var roiLineColor: UIKit.UIColor {
|
|
20
|
+
@objc get
|
|
21
|
+
@objc set
|
|
22
|
+
}
|
|
23
|
+
@objc public var roiLineWidth: Swift.Float {
|
|
24
|
+
@objc get
|
|
25
|
+
@objc set
|
|
26
|
+
}
|
|
27
|
+
@objc public var roiOverlayBackgroundColor: UIKit.UIColor {
|
|
28
|
+
@objc get
|
|
29
|
+
@objc set
|
|
30
|
+
}
|
|
31
|
+
@objc public var regionOfInterestVisible: Swift.Bool {
|
|
32
|
+
@objc get
|
|
33
|
+
@objc set
|
|
34
|
+
}
|
|
35
|
+
@objc public var locationLineColor: UIKit.UIColor
|
|
36
|
+
@objc public var locationLineWidth: Swift.Float
|
|
37
|
+
@objc public var pinchToZoomEnabled: Swift.Bool
|
|
38
|
+
@objc public var beepOnSuccessEnabled: Swift.Bool
|
|
39
|
+
@objc public var vibrateOnSuccessEnabled: Swift.Bool
|
|
40
|
+
@objc public var closeSessionOnResultEnabled: Swift.Bool
|
|
41
|
+
@objc public var imageResultEnabled: Swift.Bool
|
|
42
|
+
@objc public var locationInImageResultEnabled: Swift.Bool
|
|
43
|
+
@objc public var locationInPreviewEnabled: Swift.Bool
|
|
44
|
+
@objc public var decoderConfig: Barkoder.Config?
|
|
45
|
+
@objc public var barkoderResolution: BarkoderSDK.BarkoderView.BarkoderResolution {
|
|
46
|
+
@objc get
|
|
47
|
+
@objc set
|
|
48
|
+
}
|
|
49
|
+
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
50
|
+
@objc public var thresholdBetweenDuplicatesScans: Swift.Int
|
|
51
|
+
@objc open func setRegionOfInterest(_ value: CoreFoundation.CGRect) throws
|
|
52
|
+
@objc open func getRegionOfInterest() -> CoreFoundation.CGRect
|
|
53
|
+
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping ((Barkoder.LicenseCheckResult) -> Swift.Void))
|
|
54
|
+
@objc open func setThreadsLimit(_ value: Swift.Int) throws
|
|
55
|
+
@objc open func getThreadsLimit() -> Swift.Int
|
|
56
|
+
@objc open func setMulticodeCachingEnabled(_ boolean: Swift.Bool)
|
|
57
|
+
@objc open func getMulticodeCachingEnabled() -> Swift.Bool
|
|
58
|
+
@objc open func setMulticodeCachingDuration(_ value: Swift.Int)
|
|
59
|
+
@objc open func getMulticodeCachingDuration() -> Swift.Int
|
|
60
|
+
@objc override dynamic public init()
|
|
61
|
+
@objc deinit
|
|
62
|
+
}
|
|
63
|
+
extension UIKit.UIImage {
|
|
64
|
+
public func fixOrientation() -> UIKit.UIImage
|
|
65
|
+
}
|
|
66
|
+
@objc public protocol BarkoderPerformanceDelegate {
|
|
67
|
+
@objc optional func performanceReceived(fps: Swift.Float, dps: Swift.Float)
|
|
68
|
+
}
|
|
69
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor(unsafe) public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
|
|
70
|
+
@objc public enum BarkoderResolution : Swift.Int {
|
|
71
|
+
case normal
|
|
72
|
+
case high
|
|
73
|
+
public init?(rawValue: Swift.Int)
|
|
74
|
+
public typealias RawValue = Swift.Int
|
|
75
|
+
public var rawValue: Swift.Int {
|
|
76
|
+
get
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
@objc @_Concurrency.MainActor(unsafe) public var config: BarkoderSDK.BarkoderConfig? {
|
|
80
|
+
@objc get
|
|
81
|
+
@objc set
|
|
82
|
+
}
|
|
83
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
84
|
+
@objc @_Concurrency.MainActor(unsafe) public func startCamera()
|
|
85
|
+
@objc @_Concurrency.MainActor(unsafe) public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
|
|
86
|
+
@objc @_Concurrency.MainActor(unsafe) public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
|
|
87
|
+
@objc @_Concurrency.MainActor(unsafe) public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
88
|
+
@objc @_Concurrency.MainActor(unsafe) public func stopScanning()
|
|
89
|
+
@objc @_Concurrency.MainActor(unsafe) public func pauseScanning()
|
|
90
|
+
@objc @_Concurrency.MainActor(unsafe) public func setZoomFactor(_ zoomFactor: Swift.Float)
|
|
91
|
+
@objc @_Concurrency.MainActor(unsafe) public func setFlash(_ enabled: Swift.Bool)
|
|
92
|
+
@objc @_Concurrency.MainActor(unsafe) public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
93
|
+
@objc @_Concurrency.MainActor(unsafe) public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
94
|
+
@_Concurrency.MainActor(unsafe) @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
95
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
96
|
+
@objc deinit
|
|
97
|
+
}
|
|
98
|
+
extension CoreFoundation.CGRect {
|
|
99
|
+
public static let fullScreen: CoreFoundation.CGRect
|
|
100
|
+
public func fullScreenIntersection() -> CoreFoundation.CGRect
|
|
101
|
+
public func isFullScreen() -> Swift.Bool
|
|
102
|
+
}
|
|
103
|
+
@objc public protocol BarkoderPreviewFramesDelegate {
|
|
104
|
+
@objc optional func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
105
|
+
}
|
|
106
|
+
@objc extension Barkoder.iBarkoder {
|
|
107
|
+
@objc public static func GetVersion() -> Swift.String
|
|
108
|
+
}
|
|
109
|
+
@_inheritsConvenienceInitializers @objc public class BarkoderHelper : ObjectiveC.NSObject {
|
|
110
|
+
@objc public static func scanImage(_ image: UIKit.UIImage, bkdConfig: BarkoderSDK.BarkoderConfig, resultDelegate: any BarkoderSDK.BarkoderResultDelegate)
|
|
111
|
+
@objc public enum BarkoderConfigTemplate : Swift.Int {
|
|
112
|
+
case all
|
|
113
|
+
case pdf_optimized
|
|
114
|
+
case qr
|
|
115
|
+
case retail_1d
|
|
116
|
+
case industrial_1d
|
|
117
|
+
case all_2d
|
|
118
|
+
case dpm
|
|
119
|
+
case vin
|
|
120
|
+
case dotcode
|
|
121
|
+
case all_1d
|
|
122
|
+
public init?(rawValue: Swift.Int)
|
|
123
|
+
public typealias RawValue = Swift.Int
|
|
124
|
+
public var rawValue: Swift.Int {
|
|
125
|
+
get
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@objc public static func applyConfigSettingsFromTemplate(_ config: BarkoderSDK.BarkoderConfig, template: BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate, finished: @escaping (BarkoderSDK.BarkoderConfig) -> Swift.Void)
|
|
129
|
+
@objc public static func applyConfigSettingsFromURL(_ config: BarkoderSDK.BarkoderConfig, url: Foundation.URL, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
130
|
+
@objc public static func applyConfigSettingsFromFile(_ config: BarkoderSDK.BarkoderConfig, url: Swift.String, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
131
|
+
@objc public static func applyConfigSettingsFromJson(_ config: BarkoderSDK.BarkoderConfig, jsonData: Foundation.Data, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
132
|
+
@objc public static func configToJSON(_ barkoderConfig: BarkoderSDK.BarkoderConfig) -> Swift.String?
|
|
133
|
+
@objc override dynamic public init()
|
|
134
|
+
@objc deinit
|
|
135
|
+
}
|
|
136
|
+
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Equatable {}
|
|
137
|
+
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Hashable {}
|
|
138
|
+
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.RawRepresentable {}
|
|
139
|
+
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.Equatable {}
|
|
140
|
+
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.Hashable {}
|
|
141
|
+
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BarkoderSDK
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import AVFoundation
|
|
6
|
+
import Barkoder
|
|
7
|
+
@_exported import BarkoderSDK
|
|
8
|
+
import CoreMedia
|
|
9
|
+
import Foundation
|
|
10
|
+
import Swift
|
|
11
|
+
import UIKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
import _SwiftConcurrencyShims
|
|
15
|
+
@objc public protocol BarkoderResultDelegate {
|
|
16
|
+
@objc func scanningFinished(_ decoderResults: [Barkoder.DecoderResult], thumbnails: [UIKit.UIImage]?, image: UIKit.UIImage?)
|
|
17
|
+
}
|
|
18
|
+
@_inheritsConvenienceInitializers @objc public class BarkoderConfig : ObjectiveC.NSObject {
|
|
19
|
+
@objc public var roiLineColor: UIKit.UIColor {
|
|
20
|
+
@objc get
|
|
21
|
+
@objc set
|
|
22
|
+
}
|
|
23
|
+
@objc public var roiLineWidth: Swift.Float {
|
|
24
|
+
@objc get
|
|
25
|
+
@objc set
|
|
26
|
+
}
|
|
27
|
+
@objc public var roiOverlayBackgroundColor: UIKit.UIColor {
|
|
28
|
+
@objc get
|
|
29
|
+
@objc set
|
|
30
|
+
}
|
|
31
|
+
@objc public var regionOfInterestVisible: Swift.Bool {
|
|
32
|
+
@objc get
|
|
33
|
+
@objc set
|
|
34
|
+
}
|
|
35
|
+
@objc public var locationLineColor: UIKit.UIColor
|
|
36
|
+
@objc public var locationLineWidth: Swift.Float
|
|
37
|
+
@objc public var pinchToZoomEnabled: Swift.Bool
|
|
38
|
+
@objc public var beepOnSuccessEnabled: Swift.Bool
|
|
39
|
+
@objc public var vibrateOnSuccessEnabled: Swift.Bool
|
|
40
|
+
@objc public var closeSessionOnResultEnabled: Swift.Bool
|
|
41
|
+
@objc public var imageResultEnabled: Swift.Bool
|
|
42
|
+
@objc public var locationInImageResultEnabled: Swift.Bool
|
|
43
|
+
@objc public var locationInPreviewEnabled: Swift.Bool
|
|
44
|
+
@objc public var decoderConfig: Barkoder.Config?
|
|
45
|
+
@objc public var barkoderResolution: BarkoderSDK.BarkoderView.BarkoderResolution {
|
|
46
|
+
@objc get
|
|
47
|
+
@objc set
|
|
48
|
+
}
|
|
49
|
+
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
50
|
+
@objc public var thresholdBetweenDuplicatesScans: Swift.Int
|
|
51
|
+
@objc open func setRegionOfInterest(_ value: CoreFoundation.CGRect) throws
|
|
52
|
+
@objc open func getRegionOfInterest() -> CoreFoundation.CGRect
|
|
53
|
+
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping ((Barkoder.LicenseCheckResult) -> Swift.Void))
|
|
54
|
+
@objc open func setThreadsLimit(_ value: Swift.Int) throws
|
|
55
|
+
@objc open func getThreadsLimit() -> Swift.Int
|
|
56
|
+
@objc open func setMulticodeCachingEnabled(_ boolean: Swift.Bool)
|
|
57
|
+
@objc open func getMulticodeCachingEnabled() -> Swift.Bool
|
|
58
|
+
@objc open func setMulticodeCachingDuration(_ value: Swift.Int)
|
|
59
|
+
@objc open func getMulticodeCachingDuration() -> Swift.Int
|
|
60
|
+
@objc override dynamic public init()
|
|
61
|
+
@objc deinit
|
|
62
|
+
}
|
|
63
|
+
extension UIKit.UIImage {
|
|
64
|
+
public func fixOrientation() -> UIKit.UIImage
|
|
65
|
+
}
|
|
66
|
+
@objc public protocol BarkoderPerformanceDelegate {
|
|
67
|
+
@objc optional func performanceReceived(fps: Swift.Float, dps: Swift.Float)
|
|
68
|
+
}
|
|
69
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor(unsafe) public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
|
|
70
|
+
@objc public enum BarkoderResolution : Swift.Int {
|
|
71
|
+
case normal
|
|
72
|
+
case high
|
|
73
|
+
public init?(rawValue: Swift.Int)
|
|
74
|
+
public typealias RawValue = Swift.Int
|
|
75
|
+
public var rawValue: Swift.Int {
|
|
76
|
+
get
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
@objc @_Concurrency.MainActor(unsafe) public var config: BarkoderSDK.BarkoderConfig? {
|
|
80
|
+
@objc get
|
|
81
|
+
@objc set
|
|
82
|
+
}
|
|
83
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
84
|
+
@objc @_Concurrency.MainActor(unsafe) public func startCamera()
|
|
85
|
+
@objc @_Concurrency.MainActor(unsafe) public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
|
|
86
|
+
@objc @_Concurrency.MainActor(unsafe) public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
|
|
87
|
+
@objc @_Concurrency.MainActor(unsafe) public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
88
|
+
@objc @_Concurrency.MainActor(unsafe) public func stopScanning()
|
|
89
|
+
@objc @_Concurrency.MainActor(unsafe) public func pauseScanning()
|
|
90
|
+
@objc @_Concurrency.MainActor(unsafe) public func setZoomFactor(_ zoomFactor: Swift.Float)
|
|
91
|
+
@objc @_Concurrency.MainActor(unsafe) public func setFlash(_ enabled: Swift.Bool)
|
|
92
|
+
@objc @_Concurrency.MainActor(unsafe) public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
93
|
+
@objc @_Concurrency.MainActor(unsafe) public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
94
|
+
@_Concurrency.MainActor(unsafe) @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
95
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
96
|
+
@objc deinit
|
|
97
|
+
}
|
|
98
|
+
extension CoreFoundation.CGRect {
|
|
99
|
+
public static let fullScreen: CoreFoundation.CGRect
|
|
100
|
+
public func fullScreenIntersection() -> CoreFoundation.CGRect
|
|
101
|
+
public func isFullScreen() -> Swift.Bool
|
|
102
|
+
}
|
|
103
|
+
@objc public protocol BarkoderPreviewFramesDelegate {
|
|
104
|
+
@objc optional func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
105
|
+
}
|
|
106
|
+
@objc extension Barkoder.iBarkoder {
|
|
107
|
+
@objc public static func GetVersion() -> Swift.String
|
|
108
|
+
}
|
|
109
|
+
@_inheritsConvenienceInitializers @objc public class BarkoderHelper : ObjectiveC.NSObject {
|
|
110
|
+
@objc public static func scanImage(_ image: UIKit.UIImage, bkdConfig: BarkoderSDK.BarkoderConfig, resultDelegate: any BarkoderSDK.BarkoderResultDelegate)
|
|
111
|
+
@objc public enum BarkoderConfigTemplate : Swift.Int {
|
|
112
|
+
case all
|
|
113
|
+
case pdf_optimized
|
|
114
|
+
case qr
|
|
115
|
+
case retail_1d
|
|
116
|
+
case industrial_1d
|
|
117
|
+
case all_2d
|
|
118
|
+
case dpm
|
|
119
|
+
case vin
|
|
120
|
+
case dotcode
|
|
121
|
+
case all_1d
|
|
122
|
+
public init?(rawValue: Swift.Int)
|
|
123
|
+
public typealias RawValue = Swift.Int
|
|
124
|
+
public var rawValue: Swift.Int {
|
|
125
|
+
get
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@objc public static func applyConfigSettingsFromTemplate(_ config: BarkoderSDK.BarkoderConfig, template: BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate, finished: @escaping (BarkoderSDK.BarkoderConfig) -> Swift.Void)
|
|
129
|
+
@objc public static func applyConfigSettingsFromURL(_ config: BarkoderSDK.BarkoderConfig, url: Foundation.URL, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
130
|
+
@objc public static func applyConfigSettingsFromFile(_ config: BarkoderSDK.BarkoderConfig, url: Swift.String, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
131
|
+
@objc public static func applyConfigSettingsFromJson(_ config: BarkoderSDK.BarkoderConfig, jsonData: Foundation.Data, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
132
|
+
@objc public static func configToJSON(_ barkoderConfig: BarkoderSDK.BarkoderConfig) -> Swift.String?
|
|
133
|
+
@objc override dynamic public init()
|
|
134
|
+
@objc deinit
|
|
135
|
+
}
|
|
136
|
+
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Equatable {}
|
|
137
|
+
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Hashable {}
|
|
138
|
+
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.RawRepresentable {}
|
|
139
|
+
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.Equatable {}
|
|
140
|
+
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.Hashable {}
|
|
141
|
+
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.RawRepresentable {}
|