@yeomessagingcom/react-native-yeofr 0.1.29 → 0.2.0

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.
@@ -4,6 +4,118 @@
4
4
  "name": "YEOFR",
5
5
  "printedName": "YEOFR",
6
6
  "children": [
7
+ {
8
+ "kind": "Import",
9
+ "name": "Foundation",
10
+ "printedName": "Foundation",
11
+ "declKind": "Import",
12
+ "moduleName": "YEOFR",
13
+ "declAttributes": [
14
+ "RawDocComment"
15
+ ]
16
+ },
17
+ {
18
+ "kind": "TypeDecl",
19
+ "name": "YEOFRValueDebounce",
20
+ "printedName": "YEOFRValueDebounce",
21
+ "children": [
22
+ {
23
+ "kind": "Constructor",
24
+ "name": "init",
25
+ "printedName": "init(threshold:)",
26
+ "children": [
27
+ {
28
+ "kind": "TypeNominal",
29
+ "name": "YEOFRValueDebounce",
30
+ "printedName": "YEOFR.YEOFRValueDebounce",
31
+ "usr": "s:5YEOFR18YEOFRValueDebounceC"
32
+ },
33
+ {
34
+ "kind": "TypeNominal",
35
+ "name": "Int",
36
+ "printedName": "Swift.Int",
37
+ "usr": "s:Si"
38
+ }
39
+ ],
40
+ "declKind": "Constructor",
41
+ "usr": "s:5YEOFR18YEOFRValueDebounceC9thresholdACSi_tcfc",
42
+ "mangledName": "$s5YEOFR18YEOFRValueDebounceC9thresholdACSi_tcfc",
43
+ "moduleName": "YEOFR",
44
+ "declAttributes": [
45
+ "AccessControl"
46
+ ],
47
+ "init_kind": "Designated"
48
+ },
49
+ {
50
+ "kind": "Function",
51
+ "name": "reset",
52
+ "printedName": "reset()",
53
+ "children": [
54
+ {
55
+ "kind": "TypeNominal",
56
+ "name": "Void",
57
+ "printedName": "()"
58
+ }
59
+ ],
60
+ "declKind": "Func",
61
+ "usr": "s:5YEOFR18YEOFRValueDebounceC5resetyyF",
62
+ "mangledName": "$s5YEOFR18YEOFRValueDebounceC5resetyyF",
63
+ "moduleName": "YEOFR",
64
+ "declAttributes": [
65
+ "Final",
66
+ "AccessControl"
67
+ ],
68
+ "funcSelfKind": "NonMutating"
69
+ },
70
+ {
71
+ "kind": "Function",
72
+ "name": "canUpdate",
73
+ "printedName": "canUpdate()",
74
+ "children": [
75
+ {
76
+ "kind": "TypeNominal",
77
+ "name": "Bool",
78
+ "printedName": "Swift.Bool",
79
+ "usr": "s:Sb"
80
+ }
81
+ ],
82
+ "declKind": "Func",
83
+ "usr": "s:5YEOFR18YEOFRValueDebounceC9canUpdateSbyF",
84
+ "mangledName": "$s5YEOFR18YEOFRValueDebounceC9canUpdateSbyF",
85
+ "moduleName": "YEOFR",
86
+ "declAttributes": [
87
+ "Final",
88
+ "AccessControl",
89
+ "DiscardableResult"
90
+ ],
91
+ "funcSelfKind": "NonMutating"
92
+ }
93
+ ],
94
+ "declKind": "Class",
95
+ "usr": "s:5YEOFR18YEOFRValueDebounceC",
96
+ "mangledName": "$s5YEOFR18YEOFRValueDebounceC",
97
+ "moduleName": "YEOFR",
98
+ "declAttributes": [
99
+ "Final",
100
+ "AccessControl"
101
+ ],
102
+ "conformances": [
103
+ {
104
+ "kind": "Conformance",
105
+ "name": "Copyable",
106
+ "printedName": "Copyable",
107
+ "usr": "s:s8CopyableP",
108
+ "mangledName": "$ss8CopyableP"
109
+ },
110
+ {
111
+ "kind": "Conformance",
112
+ "name": "Escapable",
113
+ "printedName": "Escapable",
114
+ "usr": "s:s9EscapableP",
115
+ "mangledName": "$ss9EscapableP"
116
+ }
117
+ ]
118
+ },
7
119
  {
8
120
  "kind": "TypeDecl",
9
121
  "name": "FaceRecognitionState",
@@ -266,6 +378,13 @@
266
378
  "RawDocComment"
267
379
  ]
268
380
  },
381
+ {
382
+ "kind": "Import",
383
+ "name": "CoreImage",
384
+ "printedName": "CoreImage",
385
+ "declKind": "Import",
386
+ "moduleName": "YEOFR"
387
+ },
269
388
  {
270
389
  "kind": "TypeDecl",
271
390
  "name": "ImageFrameParameters",
@@ -582,10 +701,70 @@
582
701
  }
583
702
  ]
584
703
  },
704
+ {
705
+ "kind": "Var",
706
+ "name": "capturedImage",
707
+ "printedName": "capturedImage",
708
+ "children": [
709
+ {
710
+ "kind": "TypeNominal",
711
+ "name": "Optional",
712
+ "printedName": "CoreImage.CIImage?",
713
+ "children": [
714
+ {
715
+ "kind": "TypeNominal",
716
+ "name": "CIImage",
717
+ "printedName": "CoreImage.CIImage",
718
+ "usr": "c:objc(cs)CIImage"
719
+ }
720
+ ],
721
+ "usr": "s:Sq"
722
+ }
723
+ ],
724
+ "declKind": "Var",
725
+ "usr": "s:5YEOFR20ImageFrameParametersV08capturedB0So7CIImageCSgvp",
726
+ "mangledName": "$s5YEOFR20ImageFrameParametersV08capturedB0So7CIImageCSgvp",
727
+ "moduleName": "YEOFR",
728
+ "declAttributes": [
729
+ "HasStorage",
730
+ "AccessControl"
731
+ ],
732
+ "isLet": true,
733
+ "hasStorage": true,
734
+ "accessors": [
735
+ {
736
+ "kind": "Accessor",
737
+ "name": "Get",
738
+ "printedName": "Get()",
739
+ "children": [
740
+ {
741
+ "kind": "TypeNominal",
742
+ "name": "Optional",
743
+ "printedName": "CoreImage.CIImage?",
744
+ "children": [
745
+ {
746
+ "kind": "TypeNominal",
747
+ "name": "CIImage",
748
+ "printedName": "CoreImage.CIImage",
749
+ "usr": "c:objc(cs)CIImage"
750
+ }
751
+ ],
752
+ "usr": "s:Sq"
753
+ }
754
+ ],
755
+ "declKind": "Accessor",
756
+ "usr": "s:5YEOFR20ImageFrameParametersV08capturedB0So7CIImageCSgvg",
757
+ "mangledName": "$s5YEOFR20ImageFrameParametersV08capturedB0So7CIImageCSgvg",
758
+ "moduleName": "YEOFR",
759
+ "implicit": true,
760
+ "accessorKind": "get"
761
+ }
762
+ ]
763
+ },
585
764
  {
586
765
  "kind": "Constructor",
587
766
  "name": "init",
588
- "printedName": "init(height:width:scanLine:ratio:buffer:bufferSize:)",
767
+ "printedName": "init(height:width:scanLine:ratio:buffer:bufferSize:capturedImage:)",
589
768
  "children": [
590
769
  {
591
770
  "kind": "TypeNominal",
@@ -628,11 +807,25 @@
628
807
  "name": "Int",
629
808
  "printedName": "Swift.Int",
630
809
  "usr": "s:Si"
810
+ },
811
+ {
812
+ "kind": "TypeNominal",
813
+ "name": "Optional",
814
+ "printedName": "CoreImage.CIImage?",
815
+ "children": [
816
+ {
817
+ "kind": "TypeNominal",
818
+ "name": "CIImage",
819
+ "printedName": "CoreImage.CIImage",
820
+ "usr": "c:objc(cs)CIImage"
821
+ }
822
+ ],
823
+ "usr": "s:Sq"
631
824
  }
632
825
  ],
633
826
  "declKind": "Constructor",
634
- "usr": "s:5YEOFR20ImageFrameParametersV6height5width8scanLine5ratio6buffer0J4SizeACs5Int32V_A2KSfSvSitcfc",
635
- "mangledName": "$s5YEOFR20ImageFrameParametersV6height5width8scanLine5ratio6buffer0J4SizeACs5Int32V_A2KSfSvSitcfc",
827
+ "usr": "s:5YEOFR20ImageFrameParametersV6height5width8scanLine5ratio6buffer0J4Size08capturedB0ACs5Int32V_A2LSfSvSiSo7CIImageCSgtcfc",
828
+ "mangledName": "$s5YEOFR20ImageFrameParametersV6height5width8scanLine5ratio6buffer0J4Size08capturedB0ACs5Int32V_A2LSfSvSiSo7CIImageCSgtcfc",
636
829
  "moduleName": "YEOFR",
637
830
  "declAttributes": [
638
831
  "AccessControl"
@@ -3030,99 +3223,723 @@
3030
3223
  "RawDocComment"
3031
3224
  ]
3032
3225
  },
3033
- {
3034
- "kind": "Import",
3035
- "name": "CoreVideo",
3036
- "printedName": "CoreVideo",
3037
- "declKind": "Import",
3038
- "moduleName": "YEOFR"
3039
- },
3040
- {
3041
- "kind": "Import",
3042
- "name": "Foundation",
3043
- "printedName": "Foundation",
3044
- "declKind": "Import",
3045
- "moduleName": "YEOFR",
3046
- "declAttributes": [
3047
- "RawDocComment"
3048
- ]
3049
- },
3050
- {
3051
- "kind": "Import",
3052
- "name": "AVFoundation",
3053
- "printedName": "AVFoundation",
3054
- "declKind": "Import",
3055
- "moduleName": "YEOFR"
3056
- },
3057
- {
3058
- "kind": "Import",
3059
- "name": "CoreImage",
3060
- "printedName": "CoreImage",
3061
- "declKind": "Import",
3062
- "moduleName": "YEOFR"
3063
- },
3064
- {
3065
- "kind": "Import",
3066
- "name": "UIKit",
3067
- "printedName": "UIKit",
3068
- "declKind": "Import",
3069
- "moduleName": "YEOFR"
3070
- },
3071
- {
3072
- "kind": "Import",
3073
- "name": "CoreVideo",
3074
- "printedName": "CoreVideo",
3075
- "declKind": "Import",
3076
- "moduleName": "YEOFR"
3077
- },
3078
3226
  {
3079
3227
  "kind": "TypeDecl",
3080
- "name": "YEOFRSDK",
3081
- "printedName": "YEOFRSDK",
3228
+ "name": "YEOFRDepthVerdict",
3229
+ "printedName": "YEOFRDepthVerdict",
3082
3230
  "children": [
3083
3231
  {
3084
3232
  "kind": "Var",
3085
- "name": "shared",
3086
- "printedName": "shared",
3233
+ "name": "threeD",
3234
+ "printedName": "threeD",
3087
3235
  "children": [
3088
3236
  {
3089
- "kind": "TypeNominal",
3090
- "name": "YEOFRSDK",
3091
- "printedName": "YEOFR.YEOFRSDK",
3092
- "usr": "s:5YEOFR8YEOFRSDKC"
3093
- }
3094
- ],
3095
- "declKind": "Var",
3096
- "usr": "s:5YEOFR8YEOFRSDKC6sharedACvpZ",
3097
- "mangledName": "$s5YEOFR8YEOFRSDKC6sharedACvpZ",
3098
- "moduleName": "YEOFR",
3099
- "static": true,
3100
- "declAttributes": [
3101
- "HasInitialValue",
3102
- "Final",
3103
- "HasStorage",
3104
- "AccessControl",
3105
- "RawDocComment"
3106
- ],
3107
- "isLet": true,
3108
- "hasStorage": true,
3109
- "accessors": [
3110
- {
3111
- "kind": "Accessor",
3112
- "name": "Get",
3113
- "printedName": "Get()",
3237
+ "kind": "TypeFunc",
3238
+ "name": "Function",
3239
+ "printedName": "(YEOFR.YEOFRDepthVerdict.Type) -> (Swift.Float) -> YEOFR.YEOFRDepthVerdict",
3114
3240
  "children": [
3241
+ {
3242
+ "kind": "TypeFunc",
3243
+ "name": "Function",
3244
+ "printedName": "(Swift.Float) -> YEOFR.YEOFRDepthVerdict",
3245
+ "children": [
3246
+ {
3247
+ "kind": "TypeNominal",
3248
+ "name": "YEOFRDepthVerdict",
3249
+ "printedName": "YEOFR.YEOFRDepthVerdict",
3250
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO"
3251
+ },
3252
+ {
3253
+ "kind": "TypeNominal",
3254
+ "name": "Float",
3255
+ "printedName": "Swift.Float",
3256
+ "usr": "s:Sf"
3257
+ }
3258
+ ]
3259
+ },
3115
3260
  {
3116
3261
  "kind": "TypeNominal",
3117
- "name": "YEOFRSDK",
3118
- "printedName": "YEOFR.YEOFRSDK",
3119
- "usr": "s:5YEOFR8YEOFRSDKC"
3262
+ "name": "Metatype",
3263
+ "printedName": "YEOFR.YEOFRDepthVerdict.Type",
3264
+ "children": [
3265
+ {
3266
+ "kind": "TypeNominal",
3267
+ "name": "YEOFRDepthVerdict",
3268
+ "printedName": "YEOFR.YEOFRDepthVerdict",
3269
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO"
3270
+ }
3271
+ ]
3120
3272
  }
3121
- ],
3122
- "declKind": "Accessor",
3123
- "usr": "s:5YEOFR8YEOFRSDKC6sharedACvgZ",
3124
- "mangledName": "$s5YEOFR8YEOFRSDKC6sharedACvgZ",
3125
- "moduleName": "YEOFR",
3273
+ ]
3274
+ }
3275
+ ],
3276
+ "declKind": "EnumElement",
3277
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO6threeDyACSfcACmF",
3278
+ "mangledName": "$s5YEOFR17YEOFRDepthVerdictO6threeDyACSfcACmF",
3279
+ "moduleName": "YEOFR"
3280
+ },
3281
+ {
3282
+ "kind": "Var",
3283
+ "name": "flat",
3284
+ "printedName": "flat",
3285
+ "children": [
3286
+ {
3287
+ "kind": "TypeFunc",
3288
+ "name": "Function",
3289
+ "printedName": "(YEOFR.YEOFRDepthVerdict.Type) -> (Swift.Float) -> YEOFR.YEOFRDepthVerdict",
3290
+ "children": [
3291
+ {
3292
+ "kind": "TypeFunc",
3293
+ "name": "Function",
3294
+ "printedName": "(Swift.Float) -> YEOFR.YEOFRDepthVerdict",
3295
+ "children": [
3296
+ {
3297
+ "kind": "TypeNominal",
3298
+ "name": "YEOFRDepthVerdict",
3299
+ "printedName": "YEOFR.YEOFRDepthVerdict",
3300
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO"
3301
+ },
3302
+ {
3303
+ "kind": "TypeNominal",
3304
+ "name": "Float",
3305
+ "printedName": "Swift.Float",
3306
+ "usr": "s:Sf"
3307
+ }
3308
+ ]
3309
+ },
3310
+ {
3311
+ "kind": "TypeNominal",
3312
+ "name": "Metatype",
3313
+ "printedName": "YEOFR.YEOFRDepthVerdict.Type",
3314
+ "children": [
3315
+ {
3316
+ "kind": "TypeNominal",
3317
+ "name": "YEOFRDepthVerdict",
3318
+ "printedName": "YEOFR.YEOFRDepthVerdict",
3319
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO"
3320
+ }
3321
+ ]
3322
+ }
3323
+ ]
3324
+ }
3325
+ ],
3326
+ "declKind": "EnumElement",
3327
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO4flatyACSfcACmF",
3328
+ "mangledName": "$s5YEOFR17YEOFRDepthVerdictO4flatyACSfcACmF",
3329
+ "moduleName": "YEOFR"
3330
+ },
3331
+ {
3332
+ "kind": "Var",
3333
+ "name": "notDetermined",
3334
+ "printedName": "notDetermined",
3335
+ "children": [
3336
+ {
3337
+ "kind": "TypeFunc",
3338
+ "name": "Function",
3339
+ "printedName": "(YEOFR.YEOFRDepthVerdict.Type) -> YEOFR.YEOFRDepthVerdict",
3340
+ "children": [
3341
+ {
3342
+ "kind": "TypeNominal",
3343
+ "name": "YEOFRDepthVerdict",
3344
+ "printedName": "YEOFR.YEOFRDepthVerdict",
3345
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO"
3346
+ },
3347
+ {
3348
+ "kind": "TypeNominal",
3349
+ "name": "Metatype",
3350
+ "printedName": "YEOFR.YEOFRDepthVerdict.Type",
3351
+ "children": [
3352
+ {
3353
+ "kind": "TypeNominal",
3354
+ "name": "YEOFRDepthVerdict",
3355
+ "printedName": "YEOFR.YEOFRDepthVerdict",
3356
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO"
3357
+ }
3358
+ ]
3359
+ }
3360
+ ]
3361
+ }
3362
+ ],
3363
+ "declKind": "EnumElement",
3364
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO13notDeterminedyA2CmF",
3365
+ "mangledName": "$s5YEOFR17YEOFRDepthVerdictO13notDeterminedyA2CmF",
3366
+ "moduleName": "YEOFR"
3367
+ },
3368
+ {
3369
+ "kind": "Var",
3370
+ "name": "isThreeD",
3371
+ "printedName": "isThreeD",
3372
+ "children": [
3373
+ {
3374
+ "kind": "TypeNominal",
3375
+ "name": "Bool",
3376
+ "printedName": "Swift.Bool",
3377
+ "usr": "s:Sb"
3378
+ }
3379
+ ],
3380
+ "declKind": "Var",
3381
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO8isThreeDSbvp",
3382
+ "mangledName": "$s5YEOFR17YEOFRDepthVerdictO8isThreeDSbvp",
3383
+ "moduleName": "YEOFR",
3384
+ "declAttributes": [
3385
+ "AccessControl"
3386
+ ],
3387
+ "accessors": [
3388
+ {
3389
+ "kind": "Accessor",
3390
+ "name": "Get",
3391
+ "printedName": "Get()",
3392
+ "children": [
3393
+ {
3394
+ "kind": "TypeNominal",
3395
+ "name": "Bool",
3396
+ "printedName": "Swift.Bool",
3397
+ "usr": "s:Sb"
3398
+ }
3399
+ ],
3400
+ "declKind": "Accessor",
3401
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO8isThreeDSbvg",
3402
+ "mangledName": "$s5YEOFR17YEOFRDepthVerdictO8isThreeDSbvg",
3403
+ "moduleName": "YEOFR",
3404
+ "accessorKind": "get"
3405
+ }
3406
+ ]
3407
+ },
3408
+ {
3409
+ "kind": "Function",
3410
+ "name": "==",
3411
+ "printedName": "==(_:_:)",
3412
+ "children": [
3413
+ {
3414
+ "kind": "TypeNominal",
3415
+ "name": "Bool",
3416
+ "printedName": "Swift.Bool",
3417
+ "usr": "s:Sb"
3418
+ },
3419
+ {
3420
+ "kind": "TypeNominal",
3421
+ "name": "YEOFRDepthVerdict",
3422
+ "printedName": "YEOFR.YEOFRDepthVerdict",
3423
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO"
3424
+ },
3425
+ {
3426
+ "kind": "TypeNominal",
3427
+ "name": "YEOFRDepthVerdict",
3428
+ "printedName": "YEOFR.YEOFRDepthVerdict",
3429
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO"
3430
+ }
3431
+ ],
3432
+ "declKind": "Func",
3433
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO2eeoiySbAC_ACtFZ",
3434
+ "mangledName": "$s5YEOFR17YEOFRDepthVerdictO2eeoiySbAC_ACtFZ",
3435
+ "moduleName": "YEOFR",
3436
+ "static": true,
3437
+ "declAttributes": [
3438
+ "AccessControl"
3439
+ ],
3440
+ "funcSelfKind": "NonMutating"
3441
+ }
3442
+ ],
3443
+ "declKind": "Enum",
3444
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO",
3445
+ "mangledName": "$s5YEOFR17YEOFRDepthVerdictO",
3446
+ "moduleName": "YEOFR",
3447
+ "declAttributes": [
3448
+ "AccessControl"
3449
+ ],
3450
+ "conformances": [
3451
+ {
3452
+ "kind": "Conformance",
3453
+ "name": "Copyable",
3454
+ "printedName": "Copyable",
3455
+ "usr": "s:s8CopyableP",
3456
+ "mangledName": "$ss8CopyableP"
3457
+ },
3458
+ {
3459
+ "kind": "Conformance",
3460
+ "name": "Escapable",
3461
+ "printedName": "Escapable",
3462
+ "usr": "s:s9EscapableP",
3463
+ "mangledName": "$ss9EscapableP"
3464
+ },
3465
+ {
3466
+ "kind": "Conformance",
3467
+ "name": "Equatable",
3468
+ "printedName": "Equatable",
3469
+ "usr": "s:SQ",
3470
+ "mangledName": "$sSQ"
3471
+ }
3472
+ ]
3473
+ },
3474
+ {
3475
+ "kind": "Import",
3476
+ "name": "Foundation",
3477
+ "printedName": "Foundation",
3478
+ "declKind": "Import",
3479
+ "moduleName": "YEOFR",
3480
+ "declAttributes": [
3481
+ "RawDocComment"
3482
+ ]
3483
+ },
3484
+ {
3485
+ "kind": "Import",
3486
+ "name": "Vision",
3487
+ "printedName": "Vision",
3488
+ "declKind": "Import",
3489
+ "moduleName": "YEOFR"
3490
+ },
3491
+ {
3492
+ "kind": "Import",
3493
+ "name": "AVFoundation",
3494
+ "printedName": "AVFoundation",
3495
+ "declKind": "Import",
3496
+ "moduleName": "YEOFR"
3497
+ },
3498
+ {
3499
+ "kind": "TypeDecl",
3500
+ "name": "YEOFRTrueDepthHandling",
3501
+ "printedName": "YEOFRTrueDepthHandling",
3502
+ "children": [
3503
+ {
3504
+ "kind": "Var",
3505
+ "name": "depthEnabled",
3506
+ "printedName": "depthEnabled",
3507
+ "children": [
3508
+ {
3509
+ "kind": "TypeNominal",
3510
+ "name": "Bool",
3511
+ "printedName": "Swift.Bool",
3512
+ "usr": "s:Sb"
3513
+ }
3514
+ ],
3515
+ "declKind": "Var",
3516
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP12depthEnabledSbvp",
3517
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP12depthEnabledSbvp",
3518
+ "moduleName": "YEOFR",
3519
+ "protocolReq": true,
3520
+ "accessors": [
3521
+ {
3522
+ "kind": "Accessor",
3523
+ "name": "Get",
3524
+ "printedName": "Get()",
3525
+ "children": [
3526
+ {
3527
+ "kind": "TypeNominal",
3528
+ "name": "Bool",
3529
+ "printedName": "Swift.Bool",
3530
+ "usr": "s:Sb"
3531
+ }
3532
+ ],
3533
+ "declKind": "Accessor",
3534
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP12depthEnabledSbvg",
3535
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP12depthEnabledSbvg",
3536
+ "moduleName": "YEOFR",
3537
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3538
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3539
+ "protocolReq": true,
3540
+ "reqNewWitnessTableEntry": true,
3541
+ "accessorKind": "get"
3542
+ }
3543
+ ]
3544
+ },
3545
+ {
3546
+ "kind": "Var",
3547
+ "name": "videoOutput",
3548
+ "printedName": "videoOutput",
3549
+ "children": [
3550
+ {
3551
+ "kind": "TypeNominal",
3552
+ "name": "AVCaptureVideoDataOutput",
3553
+ "printedName": "AVFoundation.AVCaptureVideoDataOutput",
3554
+ "usr": "c:objc(cs)AVCaptureVideoDataOutput"
3555
+ }
3556
+ ],
3557
+ "declKind": "Var",
3558
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP11videoOutputSo018AVCaptureVideoDataF0Cvp",
3559
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP11videoOutputSo018AVCaptureVideoDataF0Cvp",
3560
+ "moduleName": "YEOFR",
3561
+ "protocolReq": true,
3562
+ "accessors": [
3563
+ {
3564
+ "kind": "Accessor",
3565
+ "name": "Get",
3566
+ "printedName": "Get()",
3567
+ "children": [
3568
+ {
3569
+ "kind": "TypeNominal",
3570
+ "name": "AVCaptureVideoDataOutput",
3571
+ "printedName": "AVFoundation.AVCaptureVideoDataOutput",
3572
+ "usr": "c:objc(cs)AVCaptureVideoDataOutput"
3573
+ }
3574
+ ],
3575
+ "declKind": "Accessor",
3576
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP11videoOutputSo018AVCaptureVideoDataF0Cvg",
3577
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP11videoOutputSo018AVCaptureVideoDataF0Cvg",
3578
+ "moduleName": "YEOFR",
3579
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3580
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3581
+ "protocolReq": true,
3582
+ "reqNewWitnessTableEntry": true,
3583
+ "accessorKind": "get"
3584
+ },
3585
+ {
3586
+ "kind": "Accessor",
3587
+ "name": "Set",
3588
+ "printedName": "Set()",
3589
+ "children": [
3590
+ {
3591
+ "kind": "TypeNominal",
3592
+ "name": "Void",
3593
+ "printedName": "()"
3594
+ },
3595
+ {
3596
+ "kind": "TypeNominal",
3597
+ "name": "AVCaptureVideoDataOutput",
3598
+ "printedName": "AVFoundation.AVCaptureVideoDataOutput",
3599
+ "usr": "c:objc(cs)AVCaptureVideoDataOutput"
3600
+ }
3601
+ ],
3602
+ "declKind": "Accessor",
3603
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP11videoOutputSo018AVCaptureVideoDataF0Cvs",
3604
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP11videoOutputSo018AVCaptureVideoDataF0Cvs",
3605
+ "moduleName": "YEOFR",
3606
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3607
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3608
+ "protocolReq": true,
3609
+ "reqNewWitnessTableEntry": true,
3610
+ "accessorKind": "set"
3611
+ },
3612
+ {
3613
+ "kind": "Accessor",
3614
+ "name": "Modify",
3615
+ "printedName": "Modify()",
3616
+ "children": [
3617
+ {
3618
+ "kind": "TypeNominal",
3619
+ "name": "Void",
3620
+ "printedName": "()"
3621
+ }
3622
+ ],
3623
+ "declKind": "Accessor",
3624
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP11videoOutputSo018AVCaptureVideoDataF0CvM",
3625
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP11videoOutputSo018AVCaptureVideoDataF0CvM",
3626
+ "moduleName": "YEOFR",
3627
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3628
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3629
+ "protocolReq": true,
3630
+ "implicit": true,
3631
+ "reqNewWitnessTableEntry": true,
3632
+ "accessorKind": "_modify"
3633
+ }
3634
+ ]
3635
+ },
3636
+ {
3637
+ "kind": "Var",
3638
+ "name": "depthDataOutput",
3639
+ "printedName": "depthDataOutput",
3640
+ "children": [
3641
+ {
3642
+ "kind": "TypeNominal",
3643
+ "name": "AVCaptureDepthDataOutput",
3644
+ "printedName": "AVFoundation.AVCaptureDepthDataOutput",
3645
+ "usr": "c:objc(cs)AVCaptureDepthDataOutput"
3646
+ }
3647
+ ],
3648
+ "declKind": "Var",
3649
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP15depthDataOutputSo09AVCapturecfG0Cvp",
3650
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP15depthDataOutputSo09AVCapturecfG0Cvp",
3651
+ "moduleName": "YEOFR",
3652
+ "protocolReq": true,
3653
+ "accessors": [
3654
+ {
3655
+ "kind": "Accessor",
3656
+ "name": "Get",
3657
+ "printedName": "Get()",
3658
+ "children": [
3659
+ {
3660
+ "kind": "TypeNominal",
3661
+ "name": "AVCaptureDepthDataOutput",
3662
+ "printedName": "AVFoundation.AVCaptureDepthDataOutput",
3663
+ "usr": "c:objc(cs)AVCaptureDepthDataOutput"
3664
+ }
3665
+ ],
3666
+ "declKind": "Accessor",
3667
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP15depthDataOutputSo09AVCapturecfG0Cvg",
3668
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP15depthDataOutputSo09AVCapturecfG0Cvg",
3669
+ "moduleName": "YEOFR",
3670
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3671
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3672
+ "protocolReq": true,
3673
+ "reqNewWitnessTableEntry": true,
3674
+ "accessorKind": "get"
3675
+ },
3676
+ {
3677
+ "kind": "Accessor",
3678
+ "name": "Set",
3679
+ "printedName": "Set()",
3680
+ "children": [
3681
+ {
3682
+ "kind": "TypeNominal",
3683
+ "name": "Void",
3684
+ "printedName": "()"
3685
+ },
3686
+ {
3687
+ "kind": "TypeNominal",
3688
+ "name": "AVCaptureDepthDataOutput",
3689
+ "printedName": "AVFoundation.AVCaptureDepthDataOutput",
3690
+ "usr": "c:objc(cs)AVCaptureDepthDataOutput"
3691
+ }
3692
+ ],
3693
+ "declKind": "Accessor",
3694
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP15depthDataOutputSo09AVCapturecfG0Cvs",
3695
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP15depthDataOutputSo09AVCapturecfG0Cvs",
3696
+ "moduleName": "YEOFR",
3697
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3698
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3699
+ "protocolReq": true,
3700
+ "reqNewWitnessTableEntry": true,
3701
+ "accessorKind": "set"
3702
+ },
3703
+ {
3704
+ "kind": "Accessor",
3705
+ "name": "Modify",
3706
+ "printedName": "Modify()",
3707
+ "children": [
3708
+ {
3709
+ "kind": "TypeNominal",
3710
+ "name": "Void",
3711
+ "printedName": "()"
3712
+ }
3713
+ ],
3714
+ "declKind": "Accessor",
3715
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP15depthDataOutputSo09AVCapturecfG0CvM",
3716
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP15depthDataOutputSo09AVCapturecfG0CvM",
3717
+ "moduleName": "YEOFR",
3718
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3719
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3720
+ "protocolReq": true,
3721
+ "implicit": true,
3722
+ "reqNewWitnessTableEntry": true,
3723
+ "accessorKind": "_modify"
3724
+ }
3725
+ ]
3726
+ },
3727
+ {
3728
+ "kind": "Function",
3729
+ "name": "onDepthVerdict",
3730
+ "printedName": "onDepthVerdict(value:)",
3731
+ "children": [
3732
+ {
3733
+ "kind": "TypeNominal",
3734
+ "name": "Void",
3735
+ "printedName": "()"
3736
+ },
3737
+ {
3738
+ "kind": "TypeNominal",
3739
+ "name": "YEOFRDepthVerdict",
3740
+ "printedName": "YEOFR.YEOFRDepthVerdict",
3741
+ "usr": "s:5YEOFR17YEOFRDepthVerdictO"
3742
+ }
3743
+ ],
3744
+ "declKind": "Func",
3745
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP02onC7Verdict5valueyAA010YEOFRDepthF0O_tF",
3746
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP02onC7Verdict5valueyAA010YEOFRDepthF0O_tF",
3747
+ "moduleName": "YEOFR",
3748
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3749
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3750
+ "protocolReq": true,
3751
+ "reqNewWitnessTableEntry": true,
3752
+ "funcSelfKind": "NonMutating"
3753
+ },
3754
+ {
3755
+ "kind": "Function",
3756
+ "name": "handleDataOutputSynchronizer",
3757
+ "printedName": "handleDataOutputSynchronizer(_:didOutput:)",
3758
+ "children": [
3759
+ {
3760
+ "kind": "TypeNominal",
3761
+ "name": "Void",
3762
+ "printedName": "()"
3763
+ },
3764
+ {
3765
+ "kind": "TypeNominal",
3766
+ "name": "AVCaptureDataOutputSynchronizer",
3767
+ "printedName": "AVFoundation.AVCaptureDataOutputSynchronizer",
3768
+ "usr": "c:objc(cs)AVCaptureDataOutputSynchronizer"
3769
+ },
3770
+ {
3771
+ "kind": "TypeNominal",
3772
+ "name": "AVCaptureSynchronizedDataCollection",
3773
+ "printedName": "AVFoundation.AVCaptureSynchronizedDataCollection",
3774
+ "usr": "c:objc(cs)AVCaptureSynchronizedDataCollection"
3775
+ }
3776
+ ],
3777
+ "declKind": "Func",
3778
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingPAAE28handleDataOutputSynchronizer_03didG0ySo09AVCapturefgH0C_So0j12SynchronizedF10CollectionCtF",
3779
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingPAAE28handleDataOutputSynchronizer_03didG0ySo09AVCapturefgH0C_So0j12SynchronizedF10CollectionCtF",
3780
+ "moduleName": "YEOFR",
3781
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3782
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3783
+ "declAttributes": [
3784
+ "AccessControl"
3785
+ ],
3786
+ "isFromExtension": true,
3787
+ "funcSelfKind": "NonMutating"
3788
+ },
3789
+ {
3790
+ "kind": "Function",
3791
+ "name": "canUseTrueDepthCamera",
3792
+ "printedName": "canUseTrueDepthCamera()",
3793
+ "children": [
3794
+ {
3795
+ "kind": "TypeNominal",
3796
+ "name": "Bool",
3797
+ "printedName": "Swift.Bool",
3798
+ "usr": "s:Sb"
3799
+ }
3800
+ ],
3801
+ "declKind": "Func",
3802
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingPAAE010canUseTrueC6CameraSbyF",
3803
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingPAAE010canUseTrueC6CameraSbyF",
3804
+ "moduleName": "YEOFR",
3805
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3806
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3807
+ "declAttributes": [
3808
+ "AccessControl"
3809
+ ],
3810
+ "isFromExtension": true,
3811
+ "funcSelfKind": "NonMutating"
3812
+ }
3813
+ ],
3814
+ "declKind": "Protocol",
3815
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP",
3816
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP",
3817
+ "moduleName": "YEOFR",
3818
+ "genericSig": "<τ_0_0 : AVFoundation.AVCaptureVideoDataOutputSampleBufferDelegate>",
3819
+ "sugared_genericSig": "<Self : AVFoundation.AVCaptureVideoDataOutputSampleBufferDelegate>",
3820
+ "declAttributes": [
3821
+ "AccessControl"
3822
+ ],
3823
+ "conformances": [
3824
+ {
3825
+ "kind": "Conformance",
3826
+ "name": "Escapable",
3827
+ "printedName": "Escapable",
3828
+ "usr": "s:s9EscapableP",
3829
+ "mangledName": "$ss9EscapableP"
3830
+ },
3831
+ {
3832
+ "kind": "Conformance",
3833
+ "name": "Copyable",
3834
+ "printedName": "Copyable",
3835
+ "usr": "s:s8CopyableP",
3836
+ "mangledName": "$ss8CopyableP"
3837
+ }
3838
+ ]
3839
+ },
3840
+ {
3841
+ "kind": "Import",
3842
+ "name": "Foundation",
3843
+ "printedName": "Foundation",
3844
+ "declKind": "Import",
3845
+ "moduleName": "YEOFR",
3846
+ "declAttributes": [
3847
+ "RawDocComment"
3848
+ ]
3849
+ },
3850
+ {
3851
+ "kind": "Import",
3852
+ "name": "CoreVideo",
3853
+ "printedName": "CoreVideo",
3854
+ "declKind": "Import",
3855
+ "moduleName": "YEOFR"
3856
+ },
3857
+ {
3858
+ "kind": "Import",
3859
+ "name": "Foundation",
3860
+ "printedName": "Foundation",
3861
+ "declKind": "Import",
3862
+ "moduleName": "YEOFR",
3863
+ "declAttributes": [
3864
+ "RawDocComment"
3865
+ ]
3866
+ },
3867
+ {
3868
+ "kind": "Import",
3869
+ "name": "AVFoundation",
3870
+ "printedName": "AVFoundation",
3871
+ "declKind": "Import",
3872
+ "moduleName": "YEOFR"
3873
+ },
3874
+ {
3875
+ "kind": "Import",
3876
+ "name": "CoreImage",
3877
+ "printedName": "CoreImage",
3878
+ "declKind": "Import",
3879
+ "moduleName": "YEOFR"
3880
+ },
3881
+ {
3882
+ "kind": "Import",
3883
+ "name": "UIKit",
3884
+ "printedName": "UIKit",
3885
+ "declKind": "Import",
3886
+ "moduleName": "YEOFR"
3887
+ },
3888
+ {
3889
+ "kind": "Import",
3890
+ "name": "CoreVideo",
3891
+ "printedName": "CoreVideo",
3892
+ "declKind": "Import",
3893
+ "moduleName": "YEOFR"
3894
+ },
3895
+ {
3896
+ "kind": "TypeDecl",
3897
+ "name": "YEOFRSDK",
3898
+ "printedName": "YEOFRSDK",
3899
+ "children": [
3900
+ {
3901
+ "kind": "Var",
3902
+ "name": "shared",
3903
+ "printedName": "shared",
3904
+ "children": [
3905
+ {
3906
+ "kind": "TypeNominal",
3907
+ "name": "YEOFRSDK",
3908
+ "printedName": "YEOFR.YEOFRSDK",
3909
+ "usr": "s:5YEOFR8YEOFRSDKC"
3910
+ }
3911
+ ],
3912
+ "declKind": "Var",
3913
+ "usr": "s:5YEOFR8YEOFRSDKC6sharedACvpZ",
3914
+ "mangledName": "$s5YEOFR8YEOFRSDKC6sharedACvpZ",
3915
+ "moduleName": "YEOFR",
3916
+ "static": true,
3917
+ "declAttributes": [
3918
+ "HasInitialValue",
3919
+ "Final",
3920
+ "HasStorage",
3921
+ "AccessControl",
3922
+ "RawDocComment"
3923
+ ],
3924
+ "isLet": true,
3925
+ "hasStorage": true,
3926
+ "accessors": [
3927
+ {
3928
+ "kind": "Accessor",
3929
+ "name": "Get",
3930
+ "printedName": "Get()",
3931
+ "children": [
3932
+ {
3933
+ "kind": "TypeNominal",
3934
+ "name": "YEOFRSDK",
3935
+ "printedName": "YEOFR.YEOFRSDK",
3936
+ "usr": "s:5YEOFR8YEOFRSDKC"
3937
+ }
3938
+ ],
3939
+ "declKind": "Accessor",
3940
+ "usr": "s:5YEOFR8YEOFRSDKC6sharedACvgZ",
3941
+ "mangledName": "$s5YEOFR8YEOFRSDKC6sharedACvgZ",
3942
+ "moduleName": "YEOFR",
3126
3943
  "static": true,
3127
3944
  "implicit": true,
3128
3945
  "declAttributes": [
@@ -3685,6 +4502,13 @@
3685
4502
  "json_format_version": 8
3686
4503
  },
3687
4504
  "ConstValues": [
4505
+ {
4506
+ "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Components\/YEOFRValueDebounce.swift",
4507
+ "kind": "IntegerLiteral",
4508
+ "offset": 184,
4509
+ "length": 1,
4510
+ "value": "0"
4511
+ },
3688
4512
  {
3689
4513
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Model\/SDKFaceRecognitionResult.swift",
3690
4514
  "kind": "IntegerLiteral",
@@ -3766,48 +4590,48 @@
3766
4590
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/YEOFRSDK.swift",
3767
4591
  "kind": "StringLiteral",
3768
4592
  "offset": 1148,
3769
- "length": 8,
3770
- "value": "\"0.1.12\""
4593
+ "length": 7,
4594
+ "value": "\"0.2.0\""
3771
4595
  },
3772
4596
  {
3773
4597
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/YEOFRSDK.swift",
3774
4598
  "kind": "BooleanLiteral",
3775
- "offset": 1436,
4599
+ "offset": 1435,
3776
4600
  "length": 5,
3777
4601
  "value": "false"
3778
4602
  },
3779
4603
  {
3780
4604
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/YEOFRSDK.swift",
3781
4605
  "kind": "StringLiteral",
3782
- "offset": 1534,
4606
+ "offset": 1533,
3783
4607
  "length": 174,
3784
4608
  "value": "\"gMor7aO9VX79M0PuKeBI3Ckly688XNIvE5JWodRaPQtF2SKMq4D3iiAztF1oMFY5FUYbj0\/u4dteElxdjYRtJlmfNZDO\/vwFdNdths\/4jyWH3zNGOV+i28x5ORTg4Te2P0fXfFDSJH+Hr804XvG+ob55i5exp9Rt+9urM31+bEI=\""
3785
4609
  },
3786
4610
  {
3787
4611
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/YEOFRSDK.swift",
3788
4612
  "kind": "IntegerLiteral",
3789
- "offset": 1817,
4613
+ "offset": 1816,
3790
4614
  "length": 1,
3791
4615
  "value": "0"
3792
4616
  },
3793
4617
  {
3794
4618
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/YEOFRSDK.swift",
3795
4619
  "kind": "BooleanLiteral",
3796
- "offset": 4757,
4620
+ "offset": 4756,
3797
4621
  "length": 4,
3798
4622
  "value": "true"
3799
4623
  },
3800
4624
  {
3801
4625
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/YEOFRSDK.swift",
3802
4626
  "kind": "BooleanLiteral",
3803
- "offset": 5522,
4627
+ "offset": 5521,
3804
4628
  "length": 4,
3805
4629
  "value": "true"
3806
4630
  },
3807
4631
  {
3808
4632
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/YEOFRSDK.swift",
3809
4633
  "kind": "BooleanLiteral",
3810
- "offset": 14283,
4634
+ "offset": 14314,
3811
4635
  "length": 4,
3812
4636
  "value": "true"
3813
4637
  }
@@ -8,10 +8,18 @@ import CoreVideo
8
8
  import Foundation
9
9
  import Swift
10
10
  import UIKit
11
+ import Vision
11
12
  @_exported import YEOFR
12
13
  import _Concurrency
13
14
  import _StringProcessing
14
15
  import _SwiftConcurrencyShims
16
+ final public class YEOFRValueDebounce {
17
+ public init(threshold: Swift.Int)
18
+ final public func reset()
19
+ @discardableResult
20
+ final public func canUpdate() -> Swift.Bool
21
+ @objc deinit
22
+ }
15
23
  public enum FaceRecognitionState {
16
24
  case notDetected
17
25
  case detected
@@ -30,7 +38,10 @@ public struct ImageFrameParameters : Swift.Equatable {
30
38
  public let buffer: Swift.UnsafeMutableRawPointer
31
39
  public let bufferSize: Swift.Int
32
40
  public let uuid: Foundation.UUID
33
- public init(height: Swift.Int32, width: Swift.Int32, scanLine: Swift.Int32, ratio: Swift.Float, buffer: Swift.UnsafeMutableRawPointer, bufferSize: Swift.Int)
41
+ public let capturedImage: CoreImage.CIImage?
42
+ #if compiler(>=5.3) && $NonescapableTypes
43
+ public init(height: Swift.Int32, width: Swift.Int32, scanLine: Swift.Int32, ratio: Swift.Float, buffer: Swift.UnsafeMutableRawPointer, bufferSize: Swift.Int, capturedImage: CoreImage.CIImage?)
44
+ #endif
34
45
  public static func == (lhs: YEOFR.ImageFrameParameters, rhs: YEOFR.ImageFrameParameters) -> Swift.Bool
35
46
  public static func imageParameter(forImageBuffer imageBuffer: CoreVideo.CVImageBuffer) -> YEOFR.ImageFrameParameters
36
47
  }
@@ -73,6 +84,25 @@ public struct YEOFRConfig : YEOFR.YEOFRConfigurable, Swift.CustomDebugStringConv
73
84
  get
74
85
  }
75
86
  }
87
+ public enum YEOFRDepthVerdict : Swift.Equatable {
88
+ case threeD(Swift.Float)
89
+ case flat(Swift.Float)
90
+ case notDetermined
91
+ public var isThreeD: Swift.Bool {
92
+ get
93
+ }
94
+ public static func == (lhs: YEOFR.YEOFRDepthVerdict, rhs: YEOFR.YEOFRDepthVerdict) -> Swift.Bool
95
+ }
96
+ public protocol YEOFRTrueDepthHandling : AVFoundation.AVCaptureVideoDataOutputSampleBufferDelegate {
97
+ var depthEnabled: Swift.Bool { get }
98
+ var videoOutput: AVFoundation.AVCaptureVideoDataOutput { get set }
99
+ var depthDataOutput: AVFoundation.AVCaptureDepthDataOutput { get set }
100
+ func onDepthVerdict(value: YEOFR.YEOFRDepthVerdict)
101
+ }
102
+ extension YEOFR.YEOFRTrueDepthHandling {
103
+ public func handleDataOutputSynchronizer(_ synchronizer: AVFoundation.AVCaptureDataOutputSynchronizer, didOutput synchronizedDataCollection: AVFoundation.AVCaptureSynchronizedDataCollection)
104
+ public func canUseTrueDepthCamera() -> Swift.Bool
105
+ }
76
106
  public typealias YEOFRTrackerHandle = Swift.Int64
77
107
  @_hasMissingDesignatedInitializers final public class YEOFRSDK {
78
108
  public static let shared: YEOFR.YEOFRSDK
@@ -8,10 +8,18 @@ import CoreVideo
8
8
  import Foundation
9
9
  import Swift
10
10
  import UIKit
11
+ import Vision
11
12
  @_exported import YEOFR
12
13
  import _Concurrency
13
14
  import _StringProcessing
14
15
  import _SwiftConcurrencyShims
16
+ final public class YEOFRValueDebounce {
17
+ public init(threshold: Swift.Int)
18
+ final public func reset()
19
+ @discardableResult
20
+ final public func canUpdate() -> Swift.Bool
21
+ @objc deinit
22
+ }
15
23
  public enum FaceRecognitionState {
16
24
  case notDetected
17
25
  case detected
@@ -30,7 +38,10 @@ public struct ImageFrameParameters : Swift.Equatable {
30
38
  public let buffer: Swift.UnsafeMutableRawPointer
31
39
  public let bufferSize: Swift.Int
32
40
  public let uuid: Foundation.UUID
33
- public init(height: Swift.Int32, width: Swift.Int32, scanLine: Swift.Int32, ratio: Swift.Float, buffer: Swift.UnsafeMutableRawPointer, bufferSize: Swift.Int)
41
+ public let capturedImage: CoreImage.CIImage?
42
+ #if compiler(>=5.3) && $NonescapableTypes
43
+ public init(height: Swift.Int32, width: Swift.Int32, scanLine: Swift.Int32, ratio: Swift.Float, buffer: Swift.UnsafeMutableRawPointer, bufferSize: Swift.Int, capturedImage: CoreImage.CIImage?)
44
+ #endif
34
45
  public static func == (lhs: YEOFR.ImageFrameParameters, rhs: YEOFR.ImageFrameParameters) -> Swift.Bool
35
46
  public static func imageParameter(forImageBuffer imageBuffer: CoreVideo.CVImageBuffer) -> YEOFR.ImageFrameParameters
36
47
  }
@@ -73,6 +84,25 @@ public struct YEOFRConfig : YEOFR.YEOFRConfigurable, Swift.CustomDebugStringConv
73
84
  get
74
85
  }
75
86
  }
87
+ public enum YEOFRDepthVerdict : Swift.Equatable {
88
+ case threeD(Swift.Float)
89
+ case flat(Swift.Float)
90
+ case notDetermined
91
+ public var isThreeD: Swift.Bool {
92
+ get
93
+ }
94
+ public static func == (lhs: YEOFR.YEOFRDepthVerdict, rhs: YEOFR.YEOFRDepthVerdict) -> Swift.Bool
95
+ }
96
+ public protocol YEOFRTrueDepthHandling : AVFoundation.AVCaptureVideoDataOutputSampleBufferDelegate {
97
+ var depthEnabled: Swift.Bool { get }
98
+ var videoOutput: AVFoundation.AVCaptureVideoDataOutput { get set }
99
+ var depthDataOutput: AVFoundation.AVCaptureDepthDataOutput { get set }
100
+ func onDepthVerdict(value: YEOFR.YEOFRDepthVerdict)
101
+ }
102
+ extension YEOFR.YEOFRTrueDepthHandling {
103
+ public func handleDataOutputSynchronizer(_ synchronizer: AVFoundation.AVCaptureDataOutputSynchronizer, didOutput synchronizedDataCollection: AVFoundation.AVCaptureSynchronizedDataCollection)
104
+ public func canUseTrueDepthCamera() -> Swift.Bool
105
+ }
76
106
  public typealias YEOFRTrackerHandle = Swift.Int64
77
107
  @_hasMissingDesignatedInitializers final public class YEOFRSDK {
78
108
  public static let shared: YEOFR.YEOFRSDK
@@ -18,11 +18,11 @@
18
18
  </data>
19
19
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.abi.json</key>
20
20
  <data>
21
- y3DpBuZOt+B3AjXFqPCjSYmweig=
21
+ 5+4EJomDw0lGi30owc5S6CWiYbk=
22
22
  </data>
23
23
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
24
24
  <data>
25
- QlbpReoHeZ1JYHRJDF1GwkdlkW4=
25
+ DCSrUjdHTYPkbm7pWjxvnbGPp5E=
26
26
  </data>
27
27
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.swiftdoc</key>
28
28
  <data>
@@ -30,11 +30,11 @@
30
30
  </data>
31
31
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.swiftinterface</key>
32
32
  <data>
33
- QlbpReoHeZ1JYHRJDF1GwkdlkW4=
33
+ DCSrUjdHTYPkbm7pWjxvnbGPp5E=
34
34
  </data>
35
35
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.swiftmodule</key>
36
36
  <data>
37
- hnuQvrS9K93oF+53pzg2yRYex8A=
37
+ iA35S9oMwyQOpxFtj+D2cJU8ECo=
38
38
  </data>
39
39
  <key>Modules/module.modulemap</key>
40
40
  <data>
@@ -61,14 +61,14 @@
61
61
  <dict>
62
62
  <key>hash2</key>
63
63
  <data>
64
- xNgTrky7HpefW//yqJX6Z0BFpmV1LVKhs63/co2rmGc=
64
+ AjzV9Bq5mxvPo6aBhEhgaVOcjJgYWe41du2nmR3PXH8=
65
65
  </data>
66
66
  </dict>
67
67
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
68
68
  <dict>
69
69
  <key>hash2</key>
70
70
  <data>
71
- CQdE7ZYo1/Sgl1hExq2Jiop4FM+hxEf8tWbGuO2H0nY=
71
+ zOic69nnJd53MoctoA21MrKi5UNG7ozmy2hxrhTQ3qo=
72
72
  </data>
73
73
  </dict>
74
74
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.swiftdoc</key>
@@ -82,14 +82,14 @@
82
82
  <dict>
83
83
  <key>hash2</key>
84
84
  <data>
85
- CQdE7ZYo1/Sgl1hExq2Jiop4FM+hxEf8tWbGuO2H0nY=
85
+ zOic69nnJd53MoctoA21MrKi5UNG7ozmy2hxrhTQ3qo=
86
86
  </data>
87
87
  </dict>
88
88
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.swiftmodule</key>
89
89
  <dict>
90
90
  <key>hash2</key>
91
91
  <data>
92
- 7ir6YISB4+9BKGI7uphWAyBa+w0Cfh1jbHeZ6855V9E=
92
+ L7DP3BsWxnAEruNMAPCuEraVx44Pe3nVUMSZvPQRKFI=
93
93
  </data>
94
94
  </dict>
95
95
  <key>Modules/module.modulemap</key>
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = "react-native-yeofr"
3
- s.version = "0.1.29"
3
+ s.version = "0.2.0"
4
4
  s.summary = "React Native iOS bridge for YEO Face Recognition."
5
5
  s.homepage = "https://github.com/yeomessaging/react-native-yeofr"
6
6
  s.license = { :type => "Commercial", :file => "LICENSE" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeomessagingcom/react-native-yeofr",
3
- "version": "0.1.29",
3
+ "version": "0.2.0",
4
4
  "description": "React Native iOS integration for YEO Face Recognition (device-only).",
5
5
  "main": "index.ts",
6
6
  "react-native": "index.ts",
@@ -46,7 +46,7 @@
46
46
  "@types/react-native": "^0.72.0"
47
47
  },
48
48
  "dependencies": {
49
- "@yeomessagingcom/react-native-yeofr": "^0.1.29"
49
+ "@yeomessagingcom/react-native-yeofr": "^0.2.0"
50
50
  },
51
51
  "workspaces": [
52
52
  "example"