@yeomessagingcom/react-native-yeofr 0.2.4 → 0.3.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.
@@ -3698,6 +3698,604 @@
3698
3698
  "declKind": "Import",
3699
3699
  "moduleName": "YEOFR"
3700
3700
  },
3701
+ {
3702
+ "kind": "TypeDecl",
3703
+ "name": "YEOFRTrueDepthState",
3704
+ "printedName": "YEOFRTrueDepthState",
3705
+ "children": [
3706
+ {
3707
+ "kind": "Var",
3708
+ "name": "visionInFlight",
3709
+ "printedName": "visionInFlight",
3710
+ "children": [
3711
+ {
3712
+ "kind": "TypeNominal",
3713
+ "name": "Bool",
3714
+ "printedName": "Swift.Bool",
3715
+ "usr": "s:Sb"
3716
+ }
3717
+ ],
3718
+ "declKind": "Var",
3719
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14visionInFlightSbvp",
3720
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14visionInFlightSbvp",
3721
+ "moduleName": "YEOFR",
3722
+ "declAttributes": [
3723
+ "HasInitialValue",
3724
+ "Final",
3725
+ "HasStorage",
3726
+ "AccessControl"
3727
+ ],
3728
+ "hasStorage": true,
3729
+ "accessors": [
3730
+ {
3731
+ "kind": "Accessor",
3732
+ "name": "Get",
3733
+ "printedName": "Get()",
3734
+ "children": [
3735
+ {
3736
+ "kind": "TypeNominal",
3737
+ "name": "Bool",
3738
+ "printedName": "Swift.Bool",
3739
+ "usr": "s:Sb"
3740
+ }
3741
+ ],
3742
+ "declKind": "Accessor",
3743
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14visionInFlightSbvg",
3744
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14visionInFlightSbvg",
3745
+ "moduleName": "YEOFR",
3746
+ "implicit": true,
3747
+ "declAttributes": [
3748
+ "Final"
3749
+ ],
3750
+ "accessorKind": "get"
3751
+ },
3752
+ {
3753
+ "kind": "Accessor",
3754
+ "name": "Set",
3755
+ "printedName": "Set()",
3756
+ "children": [
3757
+ {
3758
+ "kind": "TypeNominal",
3759
+ "name": "Void",
3760
+ "printedName": "()"
3761
+ },
3762
+ {
3763
+ "kind": "TypeNominal",
3764
+ "name": "Bool",
3765
+ "printedName": "Swift.Bool",
3766
+ "usr": "s:Sb"
3767
+ }
3768
+ ],
3769
+ "declKind": "Accessor",
3770
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14visionInFlightSbvs",
3771
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14visionInFlightSbvs",
3772
+ "moduleName": "YEOFR",
3773
+ "implicit": true,
3774
+ "declAttributes": [
3775
+ "Final"
3776
+ ],
3777
+ "accessorKind": "set"
3778
+ },
3779
+ {
3780
+ "kind": "Accessor",
3781
+ "name": "Modify",
3782
+ "printedName": "Modify()",
3783
+ "children": [
3784
+ {
3785
+ "kind": "TypeNominal",
3786
+ "name": "Void",
3787
+ "printedName": "()"
3788
+ }
3789
+ ],
3790
+ "declKind": "Accessor",
3791
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14visionInFlightSbvM",
3792
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14visionInFlightSbvM",
3793
+ "moduleName": "YEOFR",
3794
+ "implicit": true,
3795
+ "declAttributes": [
3796
+ "Final"
3797
+ ],
3798
+ "accessorKind": "_modify"
3799
+ }
3800
+ ]
3801
+ },
3802
+ {
3803
+ "kind": "Var",
3804
+ "name": "lastVisionTime",
3805
+ "printedName": "lastVisionTime",
3806
+ "children": [
3807
+ {
3808
+ "kind": "TypeNominal",
3809
+ "name": "Double",
3810
+ "printedName": "Swift.Double",
3811
+ "usr": "s:Sd"
3812
+ }
3813
+ ],
3814
+ "declKind": "Var",
3815
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14lastVisionTimeSdvp",
3816
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14lastVisionTimeSdvp",
3817
+ "moduleName": "YEOFR",
3818
+ "declAttributes": [
3819
+ "HasInitialValue",
3820
+ "Final",
3821
+ "HasStorage",
3822
+ "AccessControl"
3823
+ ],
3824
+ "hasStorage": true,
3825
+ "accessors": [
3826
+ {
3827
+ "kind": "Accessor",
3828
+ "name": "Get",
3829
+ "printedName": "Get()",
3830
+ "children": [
3831
+ {
3832
+ "kind": "TypeNominal",
3833
+ "name": "Double",
3834
+ "printedName": "Swift.Double",
3835
+ "usr": "s:Sd"
3836
+ }
3837
+ ],
3838
+ "declKind": "Accessor",
3839
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14lastVisionTimeSdvg",
3840
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14lastVisionTimeSdvg",
3841
+ "moduleName": "YEOFR",
3842
+ "implicit": true,
3843
+ "declAttributes": [
3844
+ "Final"
3845
+ ],
3846
+ "accessorKind": "get"
3847
+ },
3848
+ {
3849
+ "kind": "Accessor",
3850
+ "name": "Set",
3851
+ "printedName": "Set()",
3852
+ "children": [
3853
+ {
3854
+ "kind": "TypeNominal",
3855
+ "name": "Void",
3856
+ "printedName": "()"
3857
+ },
3858
+ {
3859
+ "kind": "TypeNominal",
3860
+ "name": "Double",
3861
+ "printedName": "Swift.Double",
3862
+ "usr": "s:Sd"
3863
+ }
3864
+ ],
3865
+ "declKind": "Accessor",
3866
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14lastVisionTimeSdvs",
3867
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14lastVisionTimeSdvs",
3868
+ "moduleName": "YEOFR",
3869
+ "implicit": true,
3870
+ "declAttributes": [
3871
+ "Final"
3872
+ ],
3873
+ "accessorKind": "set"
3874
+ },
3875
+ {
3876
+ "kind": "Accessor",
3877
+ "name": "Modify",
3878
+ "printedName": "Modify()",
3879
+ "children": [
3880
+ {
3881
+ "kind": "TypeNominal",
3882
+ "name": "Void",
3883
+ "printedName": "()"
3884
+ }
3885
+ ],
3886
+ "declKind": "Accessor",
3887
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14lastVisionTimeSdvM",
3888
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14lastVisionTimeSdvM",
3889
+ "moduleName": "YEOFR",
3890
+ "implicit": true,
3891
+ "declAttributes": [
3892
+ "Final"
3893
+ ],
3894
+ "accessorKind": "_modify"
3895
+ }
3896
+ ]
3897
+ },
3898
+ {
3899
+ "kind": "Var",
3900
+ "name": "flatnessWindow",
3901
+ "printedName": "flatnessWindow",
3902
+ "children": [
3903
+ {
3904
+ "kind": "TypeNominal",
3905
+ "name": "Array",
3906
+ "printedName": "[Swift.Float]",
3907
+ "children": [
3908
+ {
3909
+ "kind": "TypeNominal",
3910
+ "name": "Float",
3911
+ "printedName": "Swift.Float",
3912
+ "usr": "s:Sf"
3913
+ }
3914
+ ],
3915
+ "usr": "s:Sa"
3916
+ }
3917
+ ],
3918
+ "declKind": "Var",
3919
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14flatnessWindowSaySfGvp",
3920
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14flatnessWindowSaySfGvp",
3921
+ "moduleName": "YEOFR",
3922
+ "declAttributes": [
3923
+ "HasInitialValue",
3924
+ "Final",
3925
+ "HasStorage",
3926
+ "AccessControl"
3927
+ ],
3928
+ "hasStorage": true,
3929
+ "accessors": [
3930
+ {
3931
+ "kind": "Accessor",
3932
+ "name": "Get",
3933
+ "printedName": "Get()",
3934
+ "children": [
3935
+ {
3936
+ "kind": "TypeNominal",
3937
+ "name": "Array",
3938
+ "printedName": "[Swift.Float]",
3939
+ "children": [
3940
+ {
3941
+ "kind": "TypeNominal",
3942
+ "name": "Float",
3943
+ "printedName": "Swift.Float",
3944
+ "usr": "s:Sf"
3945
+ }
3946
+ ],
3947
+ "usr": "s:Sa"
3948
+ }
3949
+ ],
3950
+ "declKind": "Accessor",
3951
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14flatnessWindowSaySfGvg",
3952
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14flatnessWindowSaySfGvg",
3953
+ "moduleName": "YEOFR",
3954
+ "implicit": true,
3955
+ "declAttributes": [
3956
+ "Final"
3957
+ ],
3958
+ "accessorKind": "get"
3959
+ },
3960
+ {
3961
+ "kind": "Accessor",
3962
+ "name": "Set",
3963
+ "printedName": "Set()",
3964
+ "children": [
3965
+ {
3966
+ "kind": "TypeNominal",
3967
+ "name": "Void",
3968
+ "printedName": "()"
3969
+ },
3970
+ {
3971
+ "kind": "TypeNominal",
3972
+ "name": "Array",
3973
+ "printedName": "[Swift.Float]",
3974
+ "children": [
3975
+ {
3976
+ "kind": "TypeNominal",
3977
+ "name": "Float",
3978
+ "printedName": "Swift.Float",
3979
+ "usr": "s:Sf"
3980
+ }
3981
+ ],
3982
+ "usr": "s:Sa"
3983
+ }
3984
+ ],
3985
+ "declKind": "Accessor",
3986
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14flatnessWindowSaySfGvs",
3987
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14flatnessWindowSaySfGvs",
3988
+ "moduleName": "YEOFR",
3989
+ "implicit": true,
3990
+ "declAttributes": [
3991
+ "Final"
3992
+ ],
3993
+ "accessorKind": "set"
3994
+ },
3995
+ {
3996
+ "kind": "Accessor",
3997
+ "name": "Modify",
3998
+ "printedName": "Modify()",
3999
+ "children": [
4000
+ {
4001
+ "kind": "TypeNominal",
4002
+ "name": "Void",
4003
+ "printedName": "()"
4004
+ }
4005
+ ],
4006
+ "declKind": "Accessor",
4007
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC14flatnessWindowSaySfGvM",
4008
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC14flatnessWindowSaySfGvM",
4009
+ "moduleName": "YEOFR",
4010
+ "implicit": true,
4011
+ "declAttributes": [
4012
+ "Final"
4013
+ ],
4014
+ "accessorKind": "_modify"
4015
+ }
4016
+ ]
4017
+ },
4018
+ {
4019
+ "kind": "Var",
4020
+ "name": "consecutiveNoFace",
4021
+ "printedName": "consecutiveNoFace",
4022
+ "children": [
4023
+ {
4024
+ "kind": "TypeNominal",
4025
+ "name": "Int",
4026
+ "printedName": "Swift.Int",
4027
+ "usr": "s:Si"
4028
+ }
4029
+ ],
4030
+ "declKind": "Var",
4031
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC17consecutiveNoFaceSivp",
4032
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC17consecutiveNoFaceSivp",
4033
+ "moduleName": "YEOFR",
4034
+ "declAttributes": [
4035
+ "HasInitialValue",
4036
+ "Final",
4037
+ "HasStorage",
4038
+ "AccessControl"
4039
+ ],
4040
+ "hasStorage": true,
4041
+ "accessors": [
4042
+ {
4043
+ "kind": "Accessor",
4044
+ "name": "Get",
4045
+ "printedName": "Get()",
4046
+ "children": [
4047
+ {
4048
+ "kind": "TypeNominal",
4049
+ "name": "Int",
4050
+ "printedName": "Swift.Int",
4051
+ "usr": "s:Si"
4052
+ }
4053
+ ],
4054
+ "declKind": "Accessor",
4055
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC17consecutiveNoFaceSivg",
4056
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC17consecutiveNoFaceSivg",
4057
+ "moduleName": "YEOFR",
4058
+ "implicit": true,
4059
+ "declAttributes": [
4060
+ "Final"
4061
+ ],
4062
+ "accessorKind": "get"
4063
+ },
4064
+ {
4065
+ "kind": "Accessor",
4066
+ "name": "Set",
4067
+ "printedName": "Set()",
4068
+ "children": [
4069
+ {
4070
+ "kind": "TypeNominal",
4071
+ "name": "Void",
4072
+ "printedName": "()"
4073
+ },
4074
+ {
4075
+ "kind": "TypeNominal",
4076
+ "name": "Int",
4077
+ "printedName": "Swift.Int",
4078
+ "usr": "s:Si"
4079
+ }
4080
+ ],
4081
+ "declKind": "Accessor",
4082
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC17consecutiveNoFaceSivs",
4083
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC17consecutiveNoFaceSivs",
4084
+ "moduleName": "YEOFR",
4085
+ "implicit": true,
4086
+ "declAttributes": [
4087
+ "Final"
4088
+ ],
4089
+ "accessorKind": "set"
4090
+ },
4091
+ {
4092
+ "kind": "Accessor",
4093
+ "name": "Modify",
4094
+ "printedName": "Modify()",
4095
+ "children": [
4096
+ {
4097
+ "kind": "TypeNominal",
4098
+ "name": "Void",
4099
+ "printedName": "()"
4100
+ }
4101
+ ],
4102
+ "declKind": "Accessor",
4103
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC17consecutiveNoFaceSivM",
4104
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC17consecutiveNoFaceSivM",
4105
+ "moduleName": "YEOFR",
4106
+ "implicit": true,
4107
+ "declAttributes": [
4108
+ "Final"
4109
+ ],
4110
+ "accessorKind": "_modify"
4111
+ }
4112
+ ]
4113
+ },
4114
+ {
4115
+ "kind": "Var",
4116
+ "name": "consecutiveFlatStrong",
4117
+ "printedName": "consecutiveFlatStrong",
4118
+ "children": [
4119
+ {
4120
+ "kind": "TypeNominal",
4121
+ "name": "Int",
4122
+ "printedName": "Swift.Int",
4123
+ "usr": "s:Si"
4124
+ }
4125
+ ],
4126
+ "declKind": "Var",
4127
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC21consecutiveFlatStrongSivp",
4128
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC21consecutiveFlatStrongSivp",
4129
+ "moduleName": "YEOFR",
4130
+ "declAttributes": [
4131
+ "HasInitialValue",
4132
+ "Final",
4133
+ "HasStorage",
4134
+ "AccessControl"
4135
+ ],
4136
+ "hasStorage": true,
4137
+ "accessors": [
4138
+ {
4139
+ "kind": "Accessor",
4140
+ "name": "Get",
4141
+ "printedName": "Get()",
4142
+ "children": [
4143
+ {
4144
+ "kind": "TypeNominal",
4145
+ "name": "Int",
4146
+ "printedName": "Swift.Int",
4147
+ "usr": "s:Si"
4148
+ }
4149
+ ],
4150
+ "declKind": "Accessor",
4151
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC21consecutiveFlatStrongSivg",
4152
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC21consecutiveFlatStrongSivg",
4153
+ "moduleName": "YEOFR",
4154
+ "implicit": true,
4155
+ "declAttributes": [
4156
+ "Final"
4157
+ ],
4158
+ "accessorKind": "get"
4159
+ },
4160
+ {
4161
+ "kind": "Accessor",
4162
+ "name": "Set",
4163
+ "printedName": "Set()",
4164
+ "children": [
4165
+ {
4166
+ "kind": "TypeNominal",
4167
+ "name": "Void",
4168
+ "printedName": "()"
4169
+ },
4170
+ {
4171
+ "kind": "TypeNominal",
4172
+ "name": "Int",
4173
+ "printedName": "Swift.Int",
4174
+ "usr": "s:Si"
4175
+ }
4176
+ ],
4177
+ "declKind": "Accessor",
4178
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC21consecutiveFlatStrongSivs",
4179
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC21consecutiveFlatStrongSivs",
4180
+ "moduleName": "YEOFR",
4181
+ "implicit": true,
4182
+ "declAttributes": [
4183
+ "Final"
4184
+ ],
4185
+ "accessorKind": "set"
4186
+ },
4187
+ {
4188
+ "kind": "Accessor",
4189
+ "name": "Modify",
4190
+ "printedName": "Modify()",
4191
+ "children": [
4192
+ {
4193
+ "kind": "TypeNominal",
4194
+ "name": "Void",
4195
+ "printedName": "()"
4196
+ }
4197
+ ],
4198
+ "declKind": "Accessor",
4199
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC21consecutiveFlatStrongSivM",
4200
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC21consecutiveFlatStrongSivM",
4201
+ "moduleName": "YEOFR",
4202
+ "implicit": true,
4203
+ "declAttributes": [
4204
+ "Final"
4205
+ ],
4206
+ "accessorKind": "_modify"
4207
+ }
4208
+ ]
4209
+ },
4210
+ {
4211
+ "kind": "Constructor",
4212
+ "name": "init",
4213
+ "printedName": "init()",
4214
+ "children": [
4215
+ {
4216
+ "kind": "TypeNominal",
4217
+ "name": "YEOFRTrueDepthState",
4218
+ "printedName": "YEOFR.YEOFRTrueDepthState",
4219
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC"
4220
+ }
4221
+ ],
4222
+ "declKind": "Constructor",
4223
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateCACycfc",
4224
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateCACycfc",
4225
+ "moduleName": "YEOFR",
4226
+ "declAttributes": [
4227
+ "AccessControl"
4228
+ ],
4229
+ "init_kind": "Designated"
4230
+ },
4231
+ {
4232
+ "kind": "Function",
4233
+ "name": "reset",
4234
+ "printedName": "reset()",
4235
+ "children": [
4236
+ {
4237
+ "kind": "TypeNominal",
4238
+ "name": "Void",
4239
+ "printedName": "()"
4240
+ }
4241
+ ],
4242
+ "declKind": "Func",
4243
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC5resetyyF",
4244
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC5resetyyF",
4245
+ "moduleName": "YEOFR",
4246
+ "declAttributes": [
4247
+ "Final",
4248
+ "AccessControl"
4249
+ ],
4250
+ "funcSelfKind": "NonMutating"
4251
+ },
4252
+ {
4253
+ "kind": "Function",
4254
+ "name": "resetSmoothingOnly",
4255
+ "printedName": "resetSmoothingOnly()",
4256
+ "children": [
4257
+ {
4258
+ "kind": "TypeNominal",
4259
+ "name": "Void",
4260
+ "printedName": "()"
4261
+ }
4262
+ ],
4263
+ "declKind": "Func",
4264
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC18resetSmoothingOnlyyyF",
4265
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC18resetSmoothingOnlyyyF",
4266
+ "moduleName": "YEOFR",
4267
+ "declAttributes": [
4268
+ "Final",
4269
+ "AccessControl"
4270
+ ],
4271
+ "funcSelfKind": "NonMutating"
4272
+ }
4273
+ ],
4274
+ "declKind": "Class",
4275
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC",
4276
+ "mangledName": "$s5YEOFR19YEOFRTrueDepthStateC",
4277
+ "moduleName": "YEOFR",
4278
+ "declAttributes": [
4279
+ "Final",
4280
+ "AccessControl"
4281
+ ],
4282
+ "conformances": [
4283
+ {
4284
+ "kind": "Conformance",
4285
+ "name": "Copyable",
4286
+ "printedName": "Copyable",
4287
+ "usr": "s:s8CopyableP",
4288
+ "mangledName": "$ss8CopyableP"
4289
+ },
4290
+ {
4291
+ "kind": "Conformance",
4292
+ "name": "Escapable",
4293
+ "printedName": "Escapable",
4294
+ "usr": "s:s9EscapableP",
4295
+ "mangledName": "$ss9EscapableP"
4296
+ }
4297
+ ]
4298
+ },
3701
4299
  {
3702
4300
  "kind": "TypeDecl",
3703
4301
  "name": "YEOFRTrueDepthHandling",
@@ -3927,6 +4525,48 @@
3927
4525
  }
3928
4526
  ]
3929
4527
  },
4528
+ {
4529
+ "kind": "Var",
4530
+ "name": "trueDepthState",
4531
+ "printedName": "trueDepthState",
4532
+ "children": [
4533
+ {
4534
+ "kind": "TypeNominal",
4535
+ "name": "YEOFRTrueDepthState",
4536
+ "printedName": "YEOFR.YEOFRTrueDepthState",
4537
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC"
4538
+ }
4539
+ ],
4540
+ "declKind": "Var",
4541
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP04trueC5StateAA0bcF0Cvp",
4542
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP04trueC5StateAA0bcF0Cvp",
4543
+ "moduleName": "YEOFR",
4544
+ "protocolReq": true,
4545
+ "accessors": [
4546
+ {
4547
+ "kind": "Accessor",
4548
+ "name": "Get",
4549
+ "printedName": "Get()",
4550
+ "children": [
4551
+ {
4552
+ "kind": "TypeNominal",
4553
+ "name": "YEOFRTrueDepthState",
4554
+ "printedName": "YEOFR.YEOFRTrueDepthState",
4555
+ "usr": "s:5YEOFR19YEOFRTrueDepthStateC"
4556
+ }
4557
+ ],
4558
+ "declKind": "Accessor",
4559
+ "usr": "s:5YEOFR22YEOFRTrueDepthHandlingP04trueC5StateAA0bcF0Cvg",
4560
+ "mangledName": "$s5YEOFR22YEOFRTrueDepthHandlingP04trueC5StateAA0bcF0Cvg",
4561
+ "moduleName": "YEOFR",
4562
+ "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
4563
+ "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
4564
+ "protocolReq": true,
4565
+ "reqNewWitnessTableEntry": true,
4566
+ "accessorKind": "get"
4567
+ }
4568
+ ]
4569
+ },
3930
4570
  {
3931
4571
  "kind": "Function",
3932
4572
  "name": "onDepthVerdict",
@@ -3984,7 +4624,8 @@
3984
4624
  "genericSig": "<τ_0_0 where τ_0_0 : YEOFR.YEOFRTrueDepthHandling>",
3985
4625
  "sugared_genericSig": "<Self where Self : YEOFR.YEOFRTrueDepthHandling>",
3986
4626
  "declAttributes": [
3987
- "AccessControl"
4627
+ "AccessControl",
4628
+ "RawDocComment"
3988
4629
  ],
3989
4630
  "isFromExtension": true,
3990
4631
  "funcSelfKind": "NonMutating"
@@ -4787,16 +5428,16 @@
4787
5428
  {
4788
5429
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Model\/TrueDepthConfiguration.swift",
4789
5430
  "kind": "FloatLiteral",
4790
- "offset": 1001,
4791
- "length": 3,
4792
- "value": "0.5"
5431
+ "offset": 1002,
5432
+ "length": 4,
5433
+ "value": "0.05"
4793
5434
  },
4794
5435
  {
4795
5436
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Model\/TrueDepthConfiguration.swift",
4796
5437
  "kind": "FloatLiteral",
4797
- "offset": 1060,
4798
- "length": 3,
4799
- "value": "2.0"
5438
+ "offset": 1068,
5439
+ "length": 4,
5440
+ "value": "0.15"
4800
5441
  },
4801
5442
  {
4802
5443
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Model\/YEOFRConfiguration.swift",
@@ -4854,12 +5495,54 @@
4854
5495
  "length": 4,
4855
5496
  "value": "true"
4856
5497
  },
5498
+ {
5499
+ "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Protocols\/YEOFRTrueDepthHandling.swift",
5500
+ "kind": "BooleanLiteral",
5501
+ "offset": 227,
5502
+ "length": 5,
5503
+ "value": "false"
5504
+ },
5505
+ {
5506
+ "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Protocols\/YEOFRTrueDepthHandling.swift",
5507
+ "kind": "IntegerLiteral",
5508
+ "offset": 281,
5509
+ "length": 1,
5510
+ "value": "0"
5511
+ },
5512
+ {
5513
+ "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Protocols\/YEOFRTrueDepthHandling.swift",
5514
+ "kind": "Array",
5515
+ "offset": 324,
5516
+ "length": 2,
5517
+ "value": "[]"
5518
+ },
5519
+ {
5520
+ "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Protocols\/YEOFRTrueDepthHandling.swift",
5521
+ "kind": "IntegerLiteral",
5522
+ "offset": 367,
5523
+ "length": 1,
5524
+ "value": "0"
5525
+ },
5526
+ {
5527
+ "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Protocols\/YEOFRTrueDepthHandling.swift",
5528
+ "kind": "IntegerLiteral",
5529
+ "offset": 413,
5530
+ "length": 1,
5531
+ "value": "0"
5532
+ },
5533
+ {
5534
+ "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/Protocols\/YEOFRTrueDepthHandling.swift",
5535
+ "kind": "IntegerLiteral",
5536
+ "offset": 17763,
5537
+ "length": 2,
5538
+ "value": "15"
5539
+ },
4857
5540
  {
4858
5541
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/YEOFRSDK.swift",
4859
5542
  "kind": "StringLiteral",
4860
5543
  "offset": 1148,
4861
5544
  "length": 7,
4862
- "value": "\"0.2.4\""
5545
+ "value": "\"0.3.0\""
4863
5546
  },
4864
5547
  {
4865
5548
  "filePath": "\/Users\/paulcalver\/workspace\/ios\/YEOFRWorkspace\/YEOFR\/YEOFR\/YEOFRSDK.swift",
@@ -101,10 +101,22 @@ public enum YEOFRDepthVerdict : Swift.Equatable {
101
101
  }
102
102
  public static func == (lhs: YEOFR.YEOFRDepthVerdict, rhs: YEOFR.YEOFRDepthVerdict) -> Swift.Bool
103
103
  }
104
+ final public class YEOFRTrueDepthState {
105
+ final public var visionInFlight: Swift.Bool
106
+ final public var lastVisionTime: Swift.Double
107
+ final public var flatnessWindow: [Swift.Float]
108
+ final public var consecutiveNoFace: Swift.Int
109
+ final public var consecutiveFlatStrong: Swift.Int
110
+ public init()
111
+ final public func reset()
112
+ final public func resetSmoothingOnly()
113
+ @objc deinit
114
+ }
104
115
  public protocol YEOFRTrueDepthHandling : AVFoundation.AVCaptureVideoDataOutputSampleBufferDelegate {
105
116
  var depthEnabled: Swift.Bool { get }
106
117
  var videoOutput: AVFoundation.AVCaptureVideoDataOutput { get set }
107
118
  var depthDataOutput: AVFoundation.AVCaptureDepthDataOutput { get set }
119
+ var trueDepthState: YEOFR.YEOFRTrueDepthState { get }
108
120
  func onDepthVerdict(value: YEOFR.YEOFRDepthVerdict)
109
121
  }
110
122
  extension YEOFR.YEOFRTrueDepthHandling {
@@ -101,10 +101,22 @@ public enum YEOFRDepthVerdict : Swift.Equatable {
101
101
  }
102
102
  public static func == (lhs: YEOFR.YEOFRDepthVerdict, rhs: YEOFR.YEOFRDepthVerdict) -> Swift.Bool
103
103
  }
104
+ final public class YEOFRTrueDepthState {
105
+ final public var visionInFlight: Swift.Bool
106
+ final public var lastVisionTime: Swift.Double
107
+ final public var flatnessWindow: [Swift.Float]
108
+ final public var consecutiveNoFace: Swift.Int
109
+ final public var consecutiveFlatStrong: Swift.Int
110
+ public init()
111
+ final public func reset()
112
+ final public func resetSmoothingOnly()
113
+ @objc deinit
114
+ }
104
115
  public protocol YEOFRTrueDepthHandling : AVFoundation.AVCaptureVideoDataOutputSampleBufferDelegate {
105
116
  var depthEnabled: Swift.Bool { get }
106
117
  var videoOutput: AVFoundation.AVCaptureVideoDataOutput { get set }
107
118
  var depthDataOutput: AVFoundation.AVCaptureDepthDataOutput { get set }
119
+ var trueDepthState: YEOFR.YEOFRTrueDepthState { get }
108
120
  func onDepthVerdict(value: YEOFR.YEOFRDepthVerdict)
109
121
  }
110
122
  extension YEOFR.YEOFRTrueDepthHandling {
@@ -18,11 +18,11 @@
18
18
  </data>
19
19
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.abi.json</key>
20
20
  <data>
21
- QKBRIBk6KNPgoiR0SRfdlNsdTPM=
21
+ 6iam9uEw3ARE2dpzL1t0CUYl5hY=
22
22
  </data>
23
23
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
24
24
  <data>
25
- p1J2tq/QFye9mKm0LCPIjQqzsZI=
25
+ QOh8zjmAQaySJWF8ZhPPzN5GgOE=
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
- p1J2tq/QFye9mKm0LCPIjQqzsZI=
33
+ QOh8zjmAQaySJWF8ZhPPzN5GgOE=
34
34
  </data>
35
35
  <key>Modules/YEOFR.swiftmodule/arm64-apple-ios.swiftmodule</key>
36
36
  <data>
37
- /90FKEuW7h7kigmgngRx/A9g17Q=
37
+ Ad1L9aFvxFcyH3N0zywC1GBo7kE=
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
- SYuBHxXY5TMnfVomIgr2og9r9NFMugj/bXhR1jqkQDE=
64
+ Pgh7pZhHG9mHa5D+iOmvtTPCu3H4xgaZkvblSQgJbeQ=
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
- NfiFxKVVCK3zJ+9Ihpwy7QgFuMETNef7YfJ1wPBdXhk=
71
+ YvKqYVialJc62OIZvIqPQwc1QK5bKMC/lI/IXyFCNKY=
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
- NfiFxKVVCK3zJ+9Ihpwy7QgFuMETNef7YfJ1wPBdXhk=
85
+ YvKqYVialJc62OIZvIqPQwc1QK5bKMC/lI/IXyFCNKY=
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
- TYIhxSliZ5sE3YCOCR8ReueMTb28CO485dvc6GkZB7I=
92
+ d8qPmgcKsqyXJSU4/C+/qw0P2muiggxXkD82jTB3rKM=
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.2.4"
3
+ s.version = "0.3.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.2.4",
3
+ "version": "0.3.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.2.4"
49
+ "@yeomessagingcom/react-native-yeofr": "^0.3.0"
50
50
  },
51
51
  "workspaces": [
52
52
  "example"