@thegrizzlylabs/react-native-genius-scan 5.0.0-beta1 → 5.0.0-beta3
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/android/build.gradle +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKFilterType.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKPDFGeneratorError.h +25 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanFlowErrorDomain.h +7 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanFlowOCROutputFormats.h +22 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanFlowPostProcessingActions.h +22 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanFlowStructuredData.h +17 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +129 -126
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK.h +5 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/MBProgressHUD.h +411 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +10120 -9684
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +100 -113
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +100 -113
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKFilterType.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKPDFGeneratorError.h +25 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanFlowErrorDomain.h +7 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanFlowOCROutputFormats.h +22 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanFlowPostProcessingActions.h +22 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanFlowStructuredData.h +17 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +258 -252
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK.h +5 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/MBProgressHUD.h +411 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +10120 -9684
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +100 -113
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +100 -113
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +10120 -9684
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +100 -113
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +100 -113
- package/package.json +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanFlow.h +0 -91
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanFlow.h +0 -91
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GSSDK
|
|
4
4
|
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import Combine
|
|
5
6
|
import Contacts
|
|
6
7
|
import ContactsUI
|
|
7
8
|
import CoreGraphics
|
|
@@ -29,6 +30,28 @@ import _SwiftConcurrencyShims
|
|
|
29
30
|
@objc final public func refreshLicenseKey(onSuccess: @escaping (Swift.String) -> Swift.Void, onFailure: @escaping (any Swift.Error, Swift.String) -> Swift.Void)
|
|
30
31
|
@objc deinit
|
|
31
32
|
}
|
|
33
|
+
@objc public enum GSKReceiptCategory : Swift.Int, Swift.CaseIterable {
|
|
34
|
+
case gas
|
|
35
|
+
case transportation
|
|
36
|
+
case accomodation
|
|
37
|
+
case restaurant
|
|
38
|
+
case supermarket
|
|
39
|
+
case other
|
|
40
|
+
public init?(rawValue: Swift.Int)
|
|
41
|
+
public typealias AllCases = [GSSDK.GSKReceiptCategory]
|
|
42
|
+
public typealias RawValue = Swift.Int
|
|
43
|
+
public static var allCases: [GSSDK.GSKReceiptCategory] {
|
|
44
|
+
get
|
|
45
|
+
}
|
|
46
|
+
public var rawValue: Swift.Int {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
extension GSSDK.GSKReceiptCategory : Swift.CustomStringConvertible {
|
|
51
|
+
public var description: Swift.String {
|
|
52
|
+
get
|
|
53
|
+
}
|
|
54
|
+
}
|
|
32
55
|
@_inheritsConvenienceInitializers @objc public class GSKDocumentGenerator : ObjectiveC.NSObject {
|
|
33
56
|
@objc public func generate(_ document: GSSDK.GSKPDFDocument, configuration: GSSDK.GSKDocumentGeneratorConfiguration) throws
|
|
34
57
|
@objc override dynamic public init()
|
|
@@ -221,11 +244,18 @@ public enum GSSDKStrings {
|
|
|
221
244
|
@objc get
|
|
222
245
|
}
|
|
223
246
|
}
|
|
224
|
-
@objc @
|
|
225
|
-
@objc
|
|
226
|
-
|
|
247
|
+
@objc @objcMembers @_Concurrency.MainActor final public class GSKScanFlow : ObjectiveC.NSObject {
|
|
248
|
+
@objc @_Concurrency.MainActor public init(configuration: GSSDK.GSKScanFlowConfiguration)
|
|
249
|
+
#if compiler(>=5.3) && $AsyncAwait
|
|
250
|
+
@objc @_Concurrency.MainActor final public func resultByStarting(fromViewController viewController: UIKit.UIViewController) async throws -> GSSDK.GSKScanFlowResult
|
|
251
|
+
#endif
|
|
227
252
|
@objc deinit
|
|
228
253
|
}
|
|
254
|
+
@objc extension GSSDK.GSKScanFlow {
|
|
255
|
+
@objc @available(swift, obsoleted: 1.0, message: "Use init(configuration:) instead.")
|
|
256
|
+
@_Concurrency.MainActor public static func scanFlowWithConfiguration(_ configuration: GSSDK.GSKScanFlowConfiguration) -> Self
|
|
257
|
+
@objc nonisolated final public func start(from viewController: UIKit.UIViewController, onSuccess completionBlock: @escaping (GSSDK.GSKScanFlowResult) -> Swift.Void, failure errorBlock: @escaping (any Swift.Error) -> Swift.Void)
|
|
258
|
+
}
|
|
229
259
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowConfiguration : ObjectiveC.NSObject {
|
|
230
260
|
@objc final public var source: GSSDK.GSKScanFlowSource
|
|
231
261
|
@objc final public var sourceImageURL: Foundation.URL?
|
|
@@ -249,6 +279,9 @@ public enum GSSDKStrings {
|
|
|
249
279
|
@objc override dynamic public init()
|
|
250
280
|
@objc deinit
|
|
251
281
|
}
|
|
282
|
+
extension GSSDK.GSKScanFlowConfiguration {
|
|
283
|
+
@objc(validate:) final public func validate() throws
|
|
284
|
+
}
|
|
252
285
|
extension GSSDK.GSKScanFlowConfiguration {
|
|
253
286
|
@nonobjc convenience public init(dictionary: [Swift.String : Any]) throws
|
|
254
287
|
}
|
|
@@ -264,7 +297,7 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
264
297
|
get
|
|
265
298
|
}
|
|
266
299
|
}
|
|
267
|
-
@objc public enum GSKScanFlowFilterType : Swift.Int {
|
|
300
|
+
@objc public enum GSKScanFlowFilterType : Swift.Int, Swift.CaseIterable {
|
|
268
301
|
@objc(GSKScanFlowFilterAutomatic) case automatic
|
|
269
302
|
@objc(GSKScanFlowFilterNone) case none
|
|
270
303
|
@objc(GSKScanFlowFilterBlackAndWhite) case blackAndWhite
|
|
@@ -272,21 +305,39 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
272
305
|
@objc(GSKScanFlowFilterPhoto) case photo
|
|
273
306
|
@objc(GSKScanFlowFilterMonochrome) case monochrome
|
|
274
307
|
public init?(rawValue: Swift.Int)
|
|
308
|
+
public typealias AllCases = [GSSDK.GSKScanFlowFilterType]
|
|
275
309
|
public typealias RawValue = Swift.Int
|
|
310
|
+
public static var allCases: [GSSDK.GSKScanFlowFilterType] {
|
|
311
|
+
get
|
|
312
|
+
}
|
|
276
313
|
public var rawValue: Swift.Int {
|
|
277
314
|
get
|
|
278
315
|
}
|
|
279
316
|
}
|
|
280
|
-
|
|
317
|
+
extension GSSDK.GSKScanFlowFilterType : Swift.CustomStringConvertible {
|
|
318
|
+
public var description: Swift.String {
|
|
319
|
+
get
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
@objc public enum GSKScanFlowFlashMode : Swift.UInt, Swift.CaseIterable {
|
|
281
323
|
case auto
|
|
282
324
|
case on
|
|
283
325
|
case off
|
|
284
326
|
public init?(rawValue: Swift.UInt)
|
|
327
|
+
public typealias AllCases = [GSSDK.GSKScanFlowFlashMode]
|
|
285
328
|
public typealias RawValue = Swift.UInt
|
|
329
|
+
public static var allCases: [GSSDK.GSKScanFlowFlashMode] {
|
|
330
|
+
get
|
|
331
|
+
}
|
|
286
332
|
public var rawValue: Swift.UInt {
|
|
287
333
|
get
|
|
288
334
|
}
|
|
289
335
|
}
|
|
336
|
+
extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
337
|
+
public var description: Swift.String {
|
|
338
|
+
get
|
|
339
|
+
}
|
|
340
|
+
}
|
|
290
341
|
@objc public enum GSKScanFlowMultiPageFormat : Swift.UInt {
|
|
291
342
|
@objc(GSKScanFlowNone) case none
|
|
292
343
|
@objc(GSKScanFlowPDF) case PDF
|
|
@@ -342,53 +393,68 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
342
393
|
@objc public init(originalFilePath: Swift.String, enhancedFilePath: Swift.String)
|
|
343
394
|
@objc deinit
|
|
344
395
|
}
|
|
345
|
-
@objc
|
|
346
|
-
@objc final public let originalFilePath: Swift.String
|
|
347
|
-
@objc final public var enhancedFilePath: Swift.String {
|
|
348
|
-
@objc get
|
|
349
|
-
@objc set
|
|
350
|
-
}
|
|
351
|
-
@objc final public var appliedQuadrangle: GSSDK.GSKQuadrangle
|
|
352
|
-
@objc final public var appliedFilter: GSSDK.GSKFilterType
|
|
353
|
-
@objc final public var appliedRotation: GSSDK.GSKRotation
|
|
354
|
-
@objc final public var ocrResult: GSSDK.GSKOCRResult?
|
|
355
|
-
@objc final public var structuredDataIBAN: Swift.String?
|
|
356
|
-
@objc final public var structuredDataBIC: Swift.String?
|
|
357
|
-
@objc public init(originalFilePath: Swift.String, enhancedFilePath: Swift.String, appliedQuadrangle: GSSDK.GSKQuadrangle, appliedFilter: GSSDK.GSKFilterType, appliedRotation: GSSDK.GSKRotation, logger: any GSSDK.GSKLogger = GSKLog())
|
|
358
|
-
@objc final public func originalImage() -> UIKit.UIImage?
|
|
359
|
-
@objc final public func enhancedImage() -> UIKit.UIImage?
|
|
360
|
-
@objc final public func delete()
|
|
361
|
-
@objc deinit
|
|
362
|
-
}
|
|
363
|
-
@objc public enum GSKScanFlowSource : Swift.UInt {
|
|
396
|
+
@objc public enum GSKScanFlowSource : Swift.UInt, Swift.CaseIterable {
|
|
364
397
|
case camera
|
|
365
398
|
case imageURL
|
|
366
399
|
case library
|
|
367
400
|
public init?(rawValue: Swift.UInt)
|
|
401
|
+
public typealias AllCases = [GSSDK.GSKScanFlowSource]
|
|
368
402
|
public typealias RawValue = Swift.UInt
|
|
403
|
+
public static var allCases: [GSSDK.GSKScanFlowSource] {
|
|
404
|
+
get
|
|
405
|
+
}
|
|
369
406
|
public var rawValue: Swift.UInt {
|
|
370
407
|
get
|
|
371
408
|
}
|
|
372
409
|
}
|
|
410
|
+
extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
411
|
+
public var description: Swift.String {
|
|
412
|
+
get
|
|
413
|
+
}
|
|
414
|
+
}
|
|
373
415
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResult : ObjectiveC.NSObject {
|
|
374
416
|
@objc final public var bankDetails: GSSDK.GSKScanFlowStructuredDataResultBankDetails?
|
|
417
|
+
@objc final public var businessCardContact: GSSDK.GSKScanFlowStructuredDataResultContact?
|
|
418
|
+
@objc final public var receipt: GSSDK.GSKScanFlowStructuredDataResultReceipt?
|
|
375
419
|
@objc override dynamic public init()
|
|
376
420
|
@objc deinit
|
|
377
421
|
}
|
|
422
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultAddress : ObjectiveC.NSObject {
|
|
423
|
+
@objc final public let city: Swift.String?
|
|
424
|
+
@objc final public let postalCode: Swift.String?
|
|
425
|
+
@objc final public let street: Swift.String?
|
|
426
|
+
@objc final public let state: Swift.String?
|
|
427
|
+
@objc final public let country: Swift.String?
|
|
428
|
+
@objc deinit
|
|
429
|
+
}
|
|
378
430
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResultBankDetails : ObjectiveC.NSObject {
|
|
379
431
|
@objc final public var iban: Swift.String?
|
|
380
432
|
@objc final public var bic: Swift.String?
|
|
381
433
|
@objc override dynamic public init()
|
|
382
434
|
@objc deinit
|
|
383
435
|
}
|
|
384
|
-
@_hasMissingDesignatedInitializers @
|
|
385
|
-
@objc public
|
|
386
|
-
@objc final public
|
|
436
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultContact : ObjectiveC.NSObject {
|
|
437
|
+
@objc final public let name: Swift.String?
|
|
438
|
+
@objc final public let organization: Swift.String?
|
|
439
|
+
@objc final public let address: GSSDK.GSKScanFlowStructuredDataResultAddress?
|
|
440
|
+
@objc final public let phoneNumbers: [GSSDK.GSKScanFlowStructuredDataResultPhoneNumber]
|
|
441
|
+
@objc final public let links: [Foundation.URL]
|
|
442
|
+
@objc final public let emailAddresses: [Swift.String]
|
|
443
|
+
@objc final public func asCNContact() -> Contacts.CNContact
|
|
387
444
|
@objc deinit
|
|
388
445
|
}
|
|
389
|
-
@
|
|
390
|
-
@objc public
|
|
391
|
-
@objc
|
|
446
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultPhoneNumber : ObjectiveC.NSObject {
|
|
447
|
+
@objc final public let label: Swift.String
|
|
448
|
+
@objc final public let number: Swift.String
|
|
449
|
+
@objc deinit
|
|
450
|
+
}
|
|
451
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultReceipt : ObjectiveC.NSObject {
|
|
452
|
+
@objc final public let locale: Foundation.Locale?
|
|
453
|
+
@objc final public let merchant: Swift.String?
|
|
454
|
+
final public let amount: Swift.Double?
|
|
455
|
+
@objc final public let currency: Swift.String?
|
|
456
|
+
@objc final public let date: Foundation.Date?
|
|
457
|
+
final public let category: GSSDK.GSKReceiptCategory?
|
|
392
458
|
@objc deinit
|
|
393
459
|
}
|
|
394
460
|
@_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
|
|
@@ -397,89 +463,6 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
397
463
|
@objc override dynamic public init()
|
|
398
464
|
@objc deinit
|
|
399
465
|
}
|
|
400
|
-
@_inheritsConvenienceInitializers @objc final public class GSKUIOCRService : GSSDK.GSKSerialQueueService {
|
|
401
|
-
@objc public static let shared: GSSDK.GSKUIOCRService
|
|
402
|
-
@objc final public var pendingCount: Swift.Int {
|
|
403
|
-
get
|
|
404
|
-
}
|
|
405
|
-
@objc final public func process(_ scan: GSSDK.GSKScanFlowScanInternal, configuration: GSSDK.GSKScanFlowOCRConfiguration)
|
|
406
|
-
@objc override dynamic public init()
|
|
407
|
-
@objc deinit
|
|
408
|
-
}
|
|
409
|
-
@objc public protocol GSKUICameraViewControllerDelegate {
|
|
410
|
-
@objc func cameraViewControllerDidCancel(_ viewController: GSSDK.GSKUICameraViewController)
|
|
411
|
-
@objc func cameraViewControllerDone(_ viewController: GSSDK.GSKUICameraViewController)
|
|
412
|
-
@objc func cameraViewControllerDidSnapPhoto(_ viewController: GSSDK.GSKUICameraViewController)
|
|
413
|
-
@objc func cameraViewController(_ viewController: GSSDK.GSKUICameraViewController, didScan scan: GSSDK.GSKScan, onComplete: @escaping () -> Swift.Void)
|
|
414
|
-
@objc func cameraViewController(_ viewController: GSSDK.GSKUICameraViewController, didFailWithError error: any Swift.Error)
|
|
415
|
-
}
|
|
416
|
-
@objc @objcMembers @_Concurrency.MainActor(unsafe) final public class GSKUICameraViewController : GSSDK.GSKCameraViewController {
|
|
417
|
-
@_Concurrency.MainActor(unsafe) @objc override final public var supportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask {
|
|
418
|
-
@objc get
|
|
419
|
-
}
|
|
420
|
-
@objc @_Concurrency.MainActor(unsafe) weak final public var delegate: (any GSSDK.GSKUICameraViewControllerDelegate)?
|
|
421
|
-
@objc @_Concurrency.MainActor(unsafe) final public var doneButton: UIKit.UIButton {
|
|
422
|
-
@objc get
|
|
423
|
-
}
|
|
424
|
-
@objc @_Concurrency.MainActor(unsafe) public init(session: GSSDK.GSKCameraSession, configuration: GSSDK.GSKScanFlowConfiguration, logger: any GSSDK.GSKLogger = GSKLog())
|
|
425
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func viewDidLoad()
|
|
426
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func viewWillAppear(_ animated: Swift.Bool)
|
|
427
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionDidSetup(_ cameraSession: GSSDK.GSKCameraSession)
|
|
428
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionWillSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
|
|
429
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionDidSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
|
|
430
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didGenerate scan: GSSDK.GSKScan)
|
|
431
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailWithError error: any Swift.Error)
|
|
432
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionIsSearchingQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
|
|
433
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionFailed(toFindQuadrangle cameraSession: GSSDK.GSKCameraSession)
|
|
434
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFind quadrangle: GSSDK.GSKQuadrangle)
|
|
435
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionIsAbout(toChooseQuadrangle cameraSession: GSSDK.GSKCameraSession)
|
|
436
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, willAutoTriggerWith quadrangle: GSSDK.GSKQuadrangle)
|
|
437
|
-
@objc deinit
|
|
438
|
-
}
|
|
439
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor(unsafe) public class BVImageContentViewObjCWrapperView : UIKit.UIView {
|
|
440
|
-
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
441
|
-
@objc @_Concurrency.MainActor(unsafe) public func setImage(_ image: UIKit.UIImage)
|
|
442
|
-
@objc @_Concurrency.MainActor(unsafe) public func setZoomLimits()
|
|
443
|
-
@objc deinit
|
|
444
|
-
}
|
|
445
|
-
@_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) final public class BVImageContentScrollView : GSSDK.BVContentScrollView<UIKit.UIImageView> {
|
|
446
|
-
@_Concurrency.MainActor(unsafe) public init(frame: CoreFoundation.CGRect)
|
|
447
|
-
@objc deinit
|
|
448
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func observeValue(forKeyPath keyPath: Swift.String?, of object: Any?, change: [Foundation.NSKeyValueChangeKey : Any]?, context: Swift.UnsafeMutableRawPointer?)
|
|
449
|
-
@_Concurrency.MainActor(unsafe) override final public var contentViewContentSize: CoreFoundation.CGSize {
|
|
450
|
-
get
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
@_Concurrency.MainActor(unsafe) open class BVContentScrollView<ContentViewType> : UIKit.UIScrollView, UIKit.UIScrollViewDelegate where ContentViewType : UIKit.UIView {
|
|
454
|
-
@_Concurrency.MainActor(unsafe) final public let contentView: ContentViewType
|
|
455
|
-
@_Concurrency.MainActor(unsafe) public var doubleTapRecognizer: UIKit.UITapGestureRecognizer! {
|
|
456
|
-
get
|
|
457
|
-
}
|
|
458
|
-
@_Concurrency.MainActor(unsafe) public init(frame: CoreFoundation.CGRect, contentView: ContentViewType)
|
|
459
|
-
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
460
|
-
@_Concurrency.MainActor(unsafe) public var availableSize: CoreFoundation.CGSize {
|
|
461
|
-
get
|
|
462
|
-
}
|
|
463
|
-
@_Concurrency.MainActor(unsafe) public var padding: CoreFoundation.CGFloat
|
|
464
|
-
@_Concurrency.MainActor(unsafe) open var contentViewContentSize: CoreFoundation.CGSize {
|
|
465
|
-
get
|
|
466
|
-
}
|
|
467
|
-
@_Concurrency.MainActor(unsafe) @objc override dynamic public var contentInset: UIKit.UIEdgeInsets {
|
|
468
|
-
@objc get
|
|
469
|
-
@objc set
|
|
470
|
-
}
|
|
471
|
-
@_Concurrency.MainActor(unsafe) @objc override dynamic public var bounds: CoreFoundation.CGRect {
|
|
472
|
-
@objc get
|
|
473
|
-
@objc set
|
|
474
|
-
}
|
|
475
|
-
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
476
|
-
@_Concurrency.MainActor(unsafe) public func setZoomLimits()
|
|
477
|
-
@objc @_Concurrency.MainActor(unsafe) open func handleDoubleTap(_ gestureRecognizer: UIKit.UITapGestureRecognizer)
|
|
478
|
-
@_Concurrency.MainActor(unsafe) @objc public func viewForZooming(in scrollView: UIKit.UIScrollView) -> UIKit.UIView?
|
|
479
|
-
@_Concurrency.MainActor(unsafe) @objc public func scrollViewDidEndZooming(_ scrollView: UIKit.UIScrollView, with view: UIKit.UIView?, atScale scale: CoreFoundation.CGFloat)
|
|
480
|
-
@_Concurrency.MainActor(unsafe) @objc open func scrollViewDidZoom(_ scrollView: UIKit.UIScrollView)
|
|
481
|
-
@objc deinit
|
|
482
|
-
}
|
|
483
466
|
public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
|
|
484
467
|
public var configuration: () -> GSSDK.GSKScanFlowConfiguration
|
|
485
468
|
public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
|
|
@@ -493,6 +476,10 @@ public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View
|
|
|
493
476
|
extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
|
|
494
477
|
public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
495
478
|
}
|
|
479
|
+
extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
|
|
480
|
+
extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
|
|
481
|
+
extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
|
|
482
|
+
extension GSSDK.GSKScanFlow : Swift.Sendable {}
|
|
496
483
|
extension GSSDK.GSKScanFlowError : Swift.Equatable {}
|
|
497
484
|
extension GSSDK.GSKScanFlowError : Swift.Hashable {}
|
|
498
485
|
extension GSSDK.GSKScanFlowError : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GSSDK
|
|
4
4
|
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import Combine
|
|
5
6
|
import Contacts
|
|
6
7
|
import ContactsUI
|
|
7
8
|
import CoreGraphics
|
|
@@ -29,6 +30,28 @@ import _SwiftConcurrencyShims
|
|
|
29
30
|
@objc final public func refreshLicenseKey(onSuccess: @escaping (Swift.String) -> Swift.Void, onFailure: @escaping (any Swift.Error, Swift.String) -> Swift.Void)
|
|
30
31
|
@objc deinit
|
|
31
32
|
}
|
|
33
|
+
@objc public enum GSKReceiptCategory : Swift.Int, Swift.CaseIterable {
|
|
34
|
+
case gas
|
|
35
|
+
case transportation
|
|
36
|
+
case accomodation
|
|
37
|
+
case restaurant
|
|
38
|
+
case supermarket
|
|
39
|
+
case other
|
|
40
|
+
public init?(rawValue: Swift.Int)
|
|
41
|
+
public typealias AllCases = [GSSDK.GSKReceiptCategory]
|
|
42
|
+
public typealias RawValue = Swift.Int
|
|
43
|
+
public static var allCases: [GSSDK.GSKReceiptCategory] {
|
|
44
|
+
get
|
|
45
|
+
}
|
|
46
|
+
public var rawValue: Swift.Int {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
extension GSSDK.GSKReceiptCategory : Swift.CustomStringConvertible {
|
|
51
|
+
public var description: Swift.String {
|
|
52
|
+
get
|
|
53
|
+
}
|
|
54
|
+
}
|
|
32
55
|
@_inheritsConvenienceInitializers @objc public class GSKDocumentGenerator : ObjectiveC.NSObject {
|
|
33
56
|
@objc public func generate(_ document: GSSDK.GSKPDFDocument, configuration: GSSDK.GSKDocumentGeneratorConfiguration) throws
|
|
34
57
|
@objc override dynamic public init()
|
|
@@ -221,11 +244,18 @@ public enum GSSDKStrings {
|
|
|
221
244
|
@objc get
|
|
222
245
|
}
|
|
223
246
|
}
|
|
224
|
-
@objc @
|
|
225
|
-
@objc
|
|
226
|
-
|
|
247
|
+
@objc @objcMembers @_Concurrency.MainActor final public class GSKScanFlow : ObjectiveC.NSObject {
|
|
248
|
+
@objc @_Concurrency.MainActor public init(configuration: GSSDK.GSKScanFlowConfiguration)
|
|
249
|
+
#if compiler(>=5.3) && $AsyncAwait
|
|
250
|
+
@objc @_Concurrency.MainActor final public func resultByStarting(fromViewController viewController: UIKit.UIViewController) async throws -> GSSDK.GSKScanFlowResult
|
|
251
|
+
#endif
|
|
227
252
|
@objc deinit
|
|
228
253
|
}
|
|
254
|
+
@objc extension GSSDK.GSKScanFlow {
|
|
255
|
+
@objc @available(swift, obsoleted: 1.0, message: "Use init(configuration:) instead.")
|
|
256
|
+
@_Concurrency.MainActor public static func scanFlowWithConfiguration(_ configuration: GSSDK.GSKScanFlowConfiguration) -> Self
|
|
257
|
+
@objc nonisolated final public func start(from viewController: UIKit.UIViewController, onSuccess completionBlock: @escaping (GSSDK.GSKScanFlowResult) -> Swift.Void, failure errorBlock: @escaping (any Swift.Error) -> Swift.Void)
|
|
258
|
+
}
|
|
229
259
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowConfiguration : ObjectiveC.NSObject {
|
|
230
260
|
@objc final public var source: GSSDK.GSKScanFlowSource
|
|
231
261
|
@objc final public var sourceImageURL: Foundation.URL?
|
|
@@ -249,6 +279,9 @@ public enum GSSDKStrings {
|
|
|
249
279
|
@objc override dynamic public init()
|
|
250
280
|
@objc deinit
|
|
251
281
|
}
|
|
282
|
+
extension GSSDK.GSKScanFlowConfiguration {
|
|
283
|
+
@objc(validate:) final public func validate() throws
|
|
284
|
+
}
|
|
252
285
|
extension GSSDK.GSKScanFlowConfiguration {
|
|
253
286
|
@nonobjc convenience public init(dictionary: [Swift.String : Any]) throws
|
|
254
287
|
}
|
|
@@ -264,7 +297,7 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
264
297
|
get
|
|
265
298
|
}
|
|
266
299
|
}
|
|
267
|
-
@objc public enum GSKScanFlowFilterType : Swift.Int {
|
|
300
|
+
@objc public enum GSKScanFlowFilterType : Swift.Int, Swift.CaseIterable {
|
|
268
301
|
@objc(GSKScanFlowFilterAutomatic) case automatic
|
|
269
302
|
@objc(GSKScanFlowFilterNone) case none
|
|
270
303
|
@objc(GSKScanFlowFilterBlackAndWhite) case blackAndWhite
|
|
@@ -272,21 +305,39 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
272
305
|
@objc(GSKScanFlowFilterPhoto) case photo
|
|
273
306
|
@objc(GSKScanFlowFilterMonochrome) case monochrome
|
|
274
307
|
public init?(rawValue: Swift.Int)
|
|
308
|
+
public typealias AllCases = [GSSDK.GSKScanFlowFilterType]
|
|
275
309
|
public typealias RawValue = Swift.Int
|
|
310
|
+
public static var allCases: [GSSDK.GSKScanFlowFilterType] {
|
|
311
|
+
get
|
|
312
|
+
}
|
|
276
313
|
public var rawValue: Swift.Int {
|
|
277
314
|
get
|
|
278
315
|
}
|
|
279
316
|
}
|
|
280
|
-
|
|
317
|
+
extension GSSDK.GSKScanFlowFilterType : Swift.CustomStringConvertible {
|
|
318
|
+
public var description: Swift.String {
|
|
319
|
+
get
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
@objc public enum GSKScanFlowFlashMode : Swift.UInt, Swift.CaseIterable {
|
|
281
323
|
case auto
|
|
282
324
|
case on
|
|
283
325
|
case off
|
|
284
326
|
public init?(rawValue: Swift.UInt)
|
|
327
|
+
public typealias AllCases = [GSSDK.GSKScanFlowFlashMode]
|
|
285
328
|
public typealias RawValue = Swift.UInt
|
|
329
|
+
public static var allCases: [GSSDK.GSKScanFlowFlashMode] {
|
|
330
|
+
get
|
|
331
|
+
}
|
|
286
332
|
public var rawValue: Swift.UInt {
|
|
287
333
|
get
|
|
288
334
|
}
|
|
289
335
|
}
|
|
336
|
+
extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
337
|
+
public var description: Swift.String {
|
|
338
|
+
get
|
|
339
|
+
}
|
|
340
|
+
}
|
|
290
341
|
@objc public enum GSKScanFlowMultiPageFormat : Swift.UInt {
|
|
291
342
|
@objc(GSKScanFlowNone) case none
|
|
292
343
|
@objc(GSKScanFlowPDF) case PDF
|
|
@@ -342,53 +393,68 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
342
393
|
@objc public init(originalFilePath: Swift.String, enhancedFilePath: Swift.String)
|
|
343
394
|
@objc deinit
|
|
344
395
|
}
|
|
345
|
-
@objc
|
|
346
|
-
@objc final public let originalFilePath: Swift.String
|
|
347
|
-
@objc final public var enhancedFilePath: Swift.String {
|
|
348
|
-
@objc get
|
|
349
|
-
@objc set
|
|
350
|
-
}
|
|
351
|
-
@objc final public var appliedQuadrangle: GSSDK.GSKQuadrangle
|
|
352
|
-
@objc final public var appliedFilter: GSSDK.GSKFilterType
|
|
353
|
-
@objc final public var appliedRotation: GSSDK.GSKRotation
|
|
354
|
-
@objc final public var ocrResult: GSSDK.GSKOCRResult?
|
|
355
|
-
@objc final public var structuredDataIBAN: Swift.String?
|
|
356
|
-
@objc final public var structuredDataBIC: Swift.String?
|
|
357
|
-
@objc public init(originalFilePath: Swift.String, enhancedFilePath: Swift.String, appliedQuadrangle: GSSDK.GSKQuadrangle, appliedFilter: GSSDK.GSKFilterType, appliedRotation: GSSDK.GSKRotation, logger: any GSSDK.GSKLogger = GSKLog())
|
|
358
|
-
@objc final public func originalImage() -> UIKit.UIImage?
|
|
359
|
-
@objc final public func enhancedImage() -> UIKit.UIImage?
|
|
360
|
-
@objc final public func delete()
|
|
361
|
-
@objc deinit
|
|
362
|
-
}
|
|
363
|
-
@objc public enum GSKScanFlowSource : Swift.UInt {
|
|
396
|
+
@objc public enum GSKScanFlowSource : Swift.UInt, Swift.CaseIterable {
|
|
364
397
|
case camera
|
|
365
398
|
case imageURL
|
|
366
399
|
case library
|
|
367
400
|
public init?(rawValue: Swift.UInt)
|
|
401
|
+
public typealias AllCases = [GSSDK.GSKScanFlowSource]
|
|
368
402
|
public typealias RawValue = Swift.UInt
|
|
403
|
+
public static var allCases: [GSSDK.GSKScanFlowSource] {
|
|
404
|
+
get
|
|
405
|
+
}
|
|
369
406
|
public var rawValue: Swift.UInt {
|
|
370
407
|
get
|
|
371
408
|
}
|
|
372
409
|
}
|
|
410
|
+
extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
411
|
+
public var description: Swift.String {
|
|
412
|
+
get
|
|
413
|
+
}
|
|
414
|
+
}
|
|
373
415
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResult : ObjectiveC.NSObject {
|
|
374
416
|
@objc final public var bankDetails: GSSDK.GSKScanFlowStructuredDataResultBankDetails?
|
|
417
|
+
@objc final public var businessCardContact: GSSDK.GSKScanFlowStructuredDataResultContact?
|
|
418
|
+
@objc final public var receipt: GSSDK.GSKScanFlowStructuredDataResultReceipt?
|
|
375
419
|
@objc override dynamic public init()
|
|
376
420
|
@objc deinit
|
|
377
421
|
}
|
|
422
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultAddress : ObjectiveC.NSObject {
|
|
423
|
+
@objc final public let city: Swift.String?
|
|
424
|
+
@objc final public let postalCode: Swift.String?
|
|
425
|
+
@objc final public let street: Swift.String?
|
|
426
|
+
@objc final public let state: Swift.String?
|
|
427
|
+
@objc final public let country: Swift.String?
|
|
428
|
+
@objc deinit
|
|
429
|
+
}
|
|
378
430
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowStructuredDataResultBankDetails : ObjectiveC.NSObject {
|
|
379
431
|
@objc final public var iban: Swift.String?
|
|
380
432
|
@objc final public var bic: Swift.String?
|
|
381
433
|
@objc override dynamic public init()
|
|
382
434
|
@objc deinit
|
|
383
435
|
}
|
|
384
|
-
@_hasMissingDesignatedInitializers @
|
|
385
|
-
@objc public
|
|
386
|
-
@objc final public
|
|
436
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultContact : ObjectiveC.NSObject {
|
|
437
|
+
@objc final public let name: Swift.String?
|
|
438
|
+
@objc final public let organization: Swift.String?
|
|
439
|
+
@objc final public let address: GSSDK.GSKScanFlowStructuredDataResultAddress?
|
|
440
|
+
@objc final public let phoneNumbers: [GSSDK.GSKScanFlowStructuredDataResultPhoneNumber]
|
|
441
|
+
@objc final public let links: [Foundation.URL]
|
|
442
|
+
@objc final public let emailAddresses: [Swift.String]
|
|
443
|
+
@objc final public func asCNContact() -> Contacts.CNContact
|
|
387
444
|
@objc deinit
|
|
388
445
|
}
|
|
389
|
-
@
|
|
390
|
-
@objc public
|
|
391
|
-
@objc
|
|
446
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultPhoneNumber : ObjectiveC.NSObject {
|
|
447
|
+
@objc final public let label: Swift.String
|
|
448
|
+
@objc final public let number: Swift.String
|
|
449
|
+
@objc deinit
|
|
450
|
+
}
|
|
451
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKScanFlowStructuredDataResultReceipt : ObjectiveC.NSObject {
|
|
452
|
+
@objc final public let locale: Foundation.Locale?
|
|
453
|
+
@objc final public let merchant: Swift.String?
|
|
454
|
+
final public let amount: Swift.Double?
|
|
455
|
+
@objc final public let currency: Swift.String?
|
|
456
|
+
@objc final public let date: Foundation.Date?
|
|
457
|
+
final public let category: GSSDK.GSKReceiptCategory?
|
|
392
458
|
@objc deinit
|
|
393
459
|
}
|
|
394
460
|
@_inheritsConvenienceInitializers @objc final public class GSKUIBackgroundProcessing : ObjectiveC.NSObject {
|
|
@@ -397,89 +463,6 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
397
463
|
@objc override dynamic public init()
|
|
398
464
|
@objc deinit
|
|
399
465
|
}
|
|
400
|
-
@_inheritsConvenienceInitializers @objc final public class GSKUIOCRService : GSSDK.GSKSerialQueueService {
|
|
401
|
-
@objc public static let shared: GSSDK.GSKUIOCRService
|
|
402
|
-
@objc final public var pendingCount: Swift.Int {
|
|
403
|
-
get
|
|
404
|
-
}
|
|
405
|
-
@objc final public func process(_ scan: GSSDK.GSKScanFlowScanInternal, configuration: GSSDK.GSKScanFlowOCRConfiguration)
|
|
406
|
-
@objc override dynamic public init()
|
|
407
|
-
@objc deinit
|
|
408
|
-
}
|
|
409
|
-
@objc public protocol GSKUICameraViewControllerDelegate {
|
|
410
|
-
@objc func cameraViewControllerDidCancel(_ viewController: GSSDK.GSKUICameraViewController)
|
|
411
|
-
@objc func cameraViewControllerDone(_ viewController: GSSDK.GSKUICameraViewController)
|
|
412
|
-
@objc func cameraViewControllerDidSnapPhoto(_ viewController: GSSDK.GSKUICameraViewController)
|
|
413
|
-
@objc func cameraViewController(_ viewController: GSSDK.GSKUICameraViewController, didScan scan: GSSDK.GSKScan, onComplete: @escaping () -> Swift.Void)
|
|
414
|
-
@objc func cameraViewController(_ viewController: GSSDK.GSKUICameraViewController, didFailWithError error: any Swift.Error)
|
|
415
|
-
}
|
|
416
|
-
@objc @objcMembers @_Concurrency.MainActor(unsafe) final public class GSKUICameraViewController : GSSDK.GSKCameraViewController {
|
|
417
|
-
@_Concurrency.MainActor(unsafe) @objc override final public var supportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask {
|
|
418
|
-
@objc get
|
|
419
|
-
}
|
|
420
|
-
@objc @_Concurrency.MainActor(unsafe) weak final public var delegate: (any GSSDK.GSKUICameraViewControllerDelegate)?
|
|
421
|
-
@objc @_Concurrency.MainActor(unsafe) final public var doneButton: UIKit.UIButton {
|
|
422
|
-
@objc get
|
|
423
|
-
}
|
|
424
|
-
@objc @_Concurrency.MainActor(unsafe) public init(session: GSSDK.GSKCameraSession, configuration: GSSDK.GSKScanFlowConfiguration, logger: any GSSDK.GSKLogger = GSKLog())
|
|
425
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func viewDidLoad()
|
|
426
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func viewWillAppear(_ animated: Swift.Bool)
|
|
427
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionDidSetup(_ cameraSession: GSSDK.GSKCameraSession)
|
|
428
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionWillSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
|
|
429
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionDidSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
|
|
430
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didGenerate scan: GSSDK.GSKScan)
|
|
431
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailWithError error: any Swift.Error)
|
|
432
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionIsSearchingQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
|
|
433
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionFailed(toFindQuadrangle cameraSession: GSSDK.GSKCameraSession)
|
|
434
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFind quadrangle: GSSDK.GSKQuadrangle)
|
|
435
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSessionIsAbout(toChooseQuadrangle cameraSession: GSSDK.GSKCameraSession)
|
|
436
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, willAutoTriggerWith quadrangle: GSSDK.GSKQuadrangle)
|
|
437
|
-
@objc deinit
|
|
438
|
-
}
|
|
439
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor(unsafe) public class BVImageContentViewObjCWrapperView : UIKit.UIView {
|
|
440
|
-
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
441
|
-
@objc @_Concurrency.MainActor(unsafe) public func setImage(_ image: UIKit.UIImage)
|
|
442
|
-
@objc @_Concurrency.MainActor(unsafe) public func setZoomLimits()
|
|
443
|
-
@objc deinit
|
|
444
|
-
}
|
|
445
|
-
@_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) final public class BVImageContentScrollView : GSSDK.BVContentScrollView<UIKit.UIImageView> {
|
|
446
|
-
@_Concurrency.MainActor(unsafe) public init(frame: CoreFoundation.CGRect)
|
|
447
|
-
@objc deinit
|
|
448
|
-
@_Concurrency.MainActor(unsafe) @objc override final public func observeValue(forKeyPath keyPath: Swift.String?, of object: Any?, change: [Foundation.NSKeyValueChangeKey : Any]?, context: Swift.UnsafeMutableRawPointer?)
|
|
449
|
-
@_Concurrency.MainActor(unsafe) override final public var contentViewContentSize: CoreFoundation.CGSize {
|
|
450
|
-
get
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
@_Concurrency.MainActor(unsafe) open class BVContentScrollView<ContentViewType> : UIKit.UIScrollView, UIKit.UIScrollViewDelegate where ContentViewType : UIKit.UIView {
|
|
454
|
-
@_Concurrency.MainActor(unsafe) final public let contentView: ContentViewType
|
|
455
|
-
@_Concurrency.MainActor(unsafe) public var doubleTapRecognizer: UIKit.UITapGestureRecognizer! {
|
|
456
|
-
get
|
|
457
|
-
}
|
|
458
|
-
@_Concurrency.MainActor(unsafe) public init(frame: CoreFoundation.CGRect, contentView: ContentViewType)
|
|
459
|
-
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
460
|
-
@_Concurrency.MainActor(unsafe) public var availableSize: CoreFoundation.CGSize {
|
|
461
|
-
get
|
|
462
|
-
}
|
|
463
|
-
@_Concurrency.MainActor(unsafe) public var padding: CoreFoundation.CGFloat
|
|
464
|
-
@_Concurrency.MainActor(unsafe) open var contentViewContentSize: CoreFoundation.CGSize {
|
|
465
|
-
get
|
|
466
|
-
}
|
|
467
|
-
@_Concurrency.MainActor(unsafe) @objc override dynamic public var contentInset: UIKit.UIEdgeInsets {
|
|
468
|
-
@objc get
|
|
469
|
-
@objc set
|
|
470
|
-
}
|
|
471
|
-
@_Concurrency.MainActor(unsafe) @objc override dynamic public var bounds: CoreFoundation.CGRect {
|
|
472
|
-
@objc get
|
|
473
|
-
@objc set
|
|
474
|
-
}
|
|
475
|
-
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
476
|
-
@_Concurrency.MainActor(unsafe) public func setZoomLimits()
|
|
477
|
-
@objc @_Concurrency.MainActor(unsafe) open func handleDoubleTap(_ gestureRecognizer: UIKit.UITapGestureRecognizer)
|
|
478
|
-
@_Concurrency.MainActor(unsafe) @objc public func viewForZooming(in scrollView: UIKit.UIScrollView) -> UIKit.UIView?
|
|
479
|
-
@_Concurrency.MainActor(unsafe) @objc public func scrollViewDidEndZooming(_ scrollView: UIKit.UIScrollView, with view: UIKit.UIView?, atScale scale: CoreFoundation.CGFloat)
|
|
480
|
-
@_Concurrency.MainActor(unsafe) @objc open func scrollViewDidZoom(_ scrollView: UIKit.UIScrollView)
|
|
481
|
-
@objc deinit
|
|
482
|
-
}
|
|
483
466
|
public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
|
|
484
467
|
public var configuration: () -> GSSDK.GSKScanFlowConfiguration
|
|
485
468
|
public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
|
|
@@ -493,6 +476,10 @@ public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View
|
|
|
493
476
|
extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
|
|
494
477
|
public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
495
478
|
}
|
|
479
|
+
extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
|
|
480
|
+
extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
|
|
481
|
+
extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
|
|
482
|
+
extension GSSDK.GSKScanFlow : Swift.Sendable {}
|
|
496
483
|
extension GSSDK.GSKScanFlowError : Swift.Equatable {}
|
|
497
484
|
extension GSSDK.GSKScanFlowError : Swift.Hashable {}
|
|
498
485
|
extension GSSDK.GSKScanFlowError : Swift.RawRepresentable {}
|