@therealitycrafters/react-native-evskit 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/README.md +151 -2
  2. package/android/build.gradle +46 -0
  3. package/android/src/main/java/expo/modules/evskit/EvsKitModule.kt +380 -0
  4. package/app.plugin.js +7 -0
  5. package/build/EvsKit.types.d.ts +76 -0
  6. package/build/EvsKit.types.d.ts.map +1 -0
  7. package/build/EvsKit.types.js +10 -0
  8. package/build/EvsKit.types.js.map +1 -0
  9. package/build/EvsKitModule.d.ts +43 -0
  10. package/build/EvsKitModule.d.ts.map +1 -0
  11. package/build/EvsKitModule.js +3 -0
  12. package/build/EvsKitModule.js.map +1 -0
  13. package/build/index.d.ts +118 -0
  14. package/build/index.d.ts.map +1 -0
  15. package/build/index.js +146 -0
  16. package/build/index.js.map +1 -0
  17. package/expo-module.config.json +9 -0
  18. package/ios/EvsKit.xcframework/Info.plist +44 -0
  19. package/ios/EvsKit.xcframework/_CodeSignature/CodeDirectory +0 -0
  20. package/ios/EvsKit.xcframework/_CodeSignature/CodeRequirements +0 -0
  21. package/ios/EvsKit.xcframework/_CodeSignature/CodeResources +945 -0
  22. package/ios/EvsKit.xcframework/_CodeSignature/CodeSignature +0 -0
  23. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/Assets.car +0 -0
  24. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/BitTableViewCell.nib +0 -0
  25. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/EvsGlassesNameTableViewCell.nib +0 -0
  26. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/EvsKit +0 -0
  27. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/EvsSliderTableViewCell.nib +0 -0
  28. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/EvsSwitchTableViewCell.nib +0 -0
  29. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/Headers/EvsKit-Swift.h +390 -0
  30. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/Headers/EvsKit.h +19 -0
  31. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/Info.plist +0 -0
  32. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/Modules/EvsKit.swiftmodule/arm64-apple-ios.abi.json +13039 -0
  33. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/Modules/EvsKit.swiftmodule/arm64-apple-ios.private.swiftinterface +239 -0
  34. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/Modules/EvsKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  35. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/Modules/EvsKit.swiftmodule/arm64-apple-ios.swiftinterface +239 -0
  36. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/Modules/module.modulemap +11 -0
  37. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemInfoViewCell.nib +0 -0
  38. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/09f-ri-9sL-view-zGn-Zv-q7U.nib +0 -0
  39. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/8yY-DT-9Da-view-iUR-D7-FGu.nib +0 -0
  40. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/BbY-tb-eSR-view-4D3-sx-xbY.nib +0 -0
  41. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/GlassesOtaModalViewControllerIId.nib +0 -0
  42. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/GlassesSettingsModalViewControllerIId.nib +0 -0
  43. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/Info.plist +0 -0
  44. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/UIViewController-8yY-DT-9Da.nib +0 -0
  45. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/debugViewController.nib +0 -0
  46. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/glassesConfigureViewController.nib +0 -0
  47. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/jne-LB-b9D-view-ci7-nK-5Un.nib +0 -0
  48. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/kuB-So-Ae6-view-aJi-AM-lyl.nib +0 -0
  49. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/l9h-6a-xMo-view-vJS-2W-16K.nib +0 -0
  50. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/SystemUI.storyboardc/settingsViewController.nib +0 -0
  51. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/common_glasses_resources/battery_notification.png +0 -0
  52. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/common_glasses_resources/goodbye.png +0 -0
  53. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/common_glasses_resources/personal_adjust_default_final_result.png +0 -0
  54. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/evs_logo_green.png +0 -0
  55. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/ota/max32650.121.enc.bin +0 -0
  56. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/ota/ota_info.json +17 -0
  57. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/ota/stm32wb.color.121.enc.bin +0 -0
  58. package/ios/EvsKit.xcframework/ios-arm64/EvsKit.framework/ota_background_big.png +0 -0
  59. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Assets.car +0 -0
  60. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/BitTableViewCell.nib +0 -0
  61. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/EvsGlassesNameTableViewCell.nib +0 -0
  62. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/EvsKit +0 -0
  63. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/EvsSliderTableViewCell.nib +0 -0
  64. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/EvsSwitchTableViewCell.nib +0 -0
  65. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Headers/EvsKit-Swift.h +776 -0
  66. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Headers/EvsKit.h +19 -0
  67. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Info.plist +0 -0
  68. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Modules/EvsKit.swiftmodule/arm64-apple-ios-simulator.abi.json +13039 -0
  69. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Modules/EvsKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +239 -0
  70. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Modules/EvsKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  71. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Modules/EvsKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +239 -0
  72. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Modules/EvsKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +13039 -0
  73. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Modules/EvsKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +239 -0
  74. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Modules/EvsKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  75. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Modules/EvsKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +239 -0
  76. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/Modules/module.modulemap +11 -0
  77. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemInfoViewCell.nib +0 -0
  78. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/09f-ri-9sL-view-zGn-Zv-q7U.nib +0 -0
  79. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/8yY-DT-9Da-view-iUR-D7-FGu.nib +0 -0
  80. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/BbY-tb-eSR-view-4D3-sx-xbY.nib +0 -0
  81. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/GlassesOtaModalViewControllerIId.nib +0 -0
  82. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/GlassesSettingsModalViewControllerIId.nib +0 -0
  83. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/Info.plist +0 -0
  84. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/UIViewController-8yY-DT-9Da.nib +0 -0
  85. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/debugViewController.nib +0 -0
  86. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/glassesConfigureViewController.nib +0 -0
  87. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/jne-LB-b9D-view-ci7-nK-5Un.nib +0 -0
  88. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/kuB-So-Ae6-view-aJi-AM-lyl.nib +0 -0
  89. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/l9h-6a-xMo-view-vJS-2W-16K.nib +0 -0
  90. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/SystemUI.storyboardc/settingsViewController.nib +0 -0
  91. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/_CodeSignature/CodeResources +542 -0
  92. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/common_glasses_resources/battery_notification.png +0 -0
  93. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/common_glasses_resources/goodbye.png +0 -0
  94. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/common_glasses_resources/personal_adjust_default_final_result.png +0 -0
  95. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/evs_logo_green.png +0 -0
  96. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/ota/max32650.121.enc.bin +0 -0
  97. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/ota/ota_info.json +17 -0
  98. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/ota/stm32wb.color.121.enc.bin +0 -0
  99. package/ios/EvsKit.xcframework/ios-arm64_x86_64-simulator/EvsKit.framework/ota_background_big.png +0 -0
  100. package/ios/EvsKitModule.swift +321 -0
  101. package/ios/NativeEvsKit.xcframework/Info.plist +44 -0
  102. package/ios/NativeEvsKit.xcframework/_CodeSignature/CodeDirectory +0 -0
  103. package/ios/NativeEvsKit.xcframework/_CodeSignature/CodeRequirements +0 -0
  104. package/ios/NativeEvsKit.xcframework/_CodeSignature/CodeResources +186 -0
  105. package/ios/NativeEvsKit.xcframework/_CodeSignature/CodeSignature +0 -0
  106. package/ios/NativeEvsKit.xcframework/ios-arm64/NativeEvsKit.framework/Headers/NativeEvsKit.h +3634 -0
  107. package/ios/NativeEvsKit.xcframework/ios-arm64/NativeEvsKit.framework/Info.plist +35 -0
  108. package/ios/NativeEvsKit.xcframework/ios-arm64/NativeEvsKit.framework/Modules/module.modulemap +8 -0
  109. package/ios/NativeEvsKit.xcframework/ios-arm64/NativeEvsKit.framework/NativeEvsKit +0 -0
  110. package/ios/NativeEvsKit.xcframework/ios-arm64_x86_64-simulator/NativeEvsKit.framework/Headers/NativeEvsKit.h +3634 -0
  111. package/ios/NativeEvsKit.xcframework/ios-arm64_x86_64-simulator/NativeEvsKit.framework/Info.plist +31 -0
  112. package/ios/NativeEvsKit.xcframework/ios-arm64_x86_64-simulator/NativeEvsKit.framework/Modules/module.modulemap +8 -0
  113. package/ios/NativeEvsKit.xcframework/ios-arm64_x86_64-simulator/NativeEvsKit.framework/NativeEvsKit +0 -0
  114. package/ios/RNEvsKit.podspec +27 -0
  115. package/package.json +52 -4
  116. package/plugin/withEverysightBundleResources.js +110 -0
  117. package/plugin/withEverysightSPM.js +276 -0
  118. package/src/EvsKit.types.ts +122 -0
  119. package/src/EvsKitModule.ts +65 -0
  120. package/src/index.ts +172 -0
@@ -0,0 +1,776 @@
1
+ #if 0
2
+ #elif defined(__arm64__) && __arm64__
3
+ // Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
4
+ #ifndef EVSKIT_SWIFT_H
5
+ #define EVSKIT_SWIFT_H
6
+ #pragma clang diagnostic push
7
+ #pragma clang diagnostic ignored "-Wgcc-compat"
8
+
9
+ #if !defined(__has_include)
10
+ # define __has_include(x) 0
11
+ #endif
12
+ #if !defined(__has_attribute)
13
+ # define __has_attribute(x) 0
14
+ #endif
15
+ #if !defined(__has_feature)
16
+ # define __has_feature(x) 0
17
+ #endif
18
+ #if !defined(__has_warning)
19
+ # define __has_warning(x) 0
20
+ #endif
21
+
22
+ #if __has_include(<swift/objc-prologue.h>)
23
+ # include <swift/objc-prologue.h>
24
+ #endif
25
+
26
+ #pragma clang diagnostic ignored "-Wauto-import"
27
+ #if defined(__OBJC__)
28
+ #include <Foundation/Foundation.h>
29
+ #endif
30
+ #if defined(__cplusplus)
31
+ #include <cstdint>
32
+ #include <cstddef>
33
+ #include <cstdbool>
34
+ #include <cstring>
35
+ #include <stdlib.h>
36
+ #include <new>
37
+ #include <type_traits>
38
+ #else
39
+ #include <stdint.h>
40
+ #include <stddef.h>
41
+ #include <stdbool.h>
42
+ #include <string.h>
43
+ #endif
44
+ #if defined(__cplusplus)
45
+ #pragma clang diagnostic push
46
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
47
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
48
+ # include <ptrauth.h>
49
+ #else
50
+ #pragma clang diagnostic push
51
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
52
+ # ifndef __ptrauth_swift_value_witness_function_pointer
53
+ # define __ptrauth_swift_value_witness_function_pointer(x)
54
+ # endif
55
+ # ifndef __ptrauth_swift_class_method_pointer
56
+ # define __ptrauth_swift_class_method_pointer(x)
57
+ # endif
58
+ #pragma clang diagnostic pop
59
+ #endif
60
+ #pragma clang diagnostic pop
61
+ #endif
62
+
63
+ #if !defined(SWIFT_TYPEDEFS)
64
+ # define SWIFT_TYPEDEFS 1
65
+ # if __has_include(<uchar.h>)
66
+ # include <uchar.h>
67
+ # elif !defined(__cplusplus)
68
+ typedef unsigned char char8_t;
69
+ typedef uint_least16_t char16_t;
70
+ typedef uint_least32_t char32_t;
71
+ # endif
72
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
73
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
74
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
75
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
76
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
77
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
78
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
79
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
80
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
81
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
82
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
83
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
84
+ #endif
85
+
86
+ #if !defined(SWIFT_PASTE)
87
+ # define SWIFT_PASTE_HELPER(x, y) x##y
88
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
89
+ #endif
90
+ #if !defined(SWIFT_METATYPE)
91
+ # define SWIFT_METATYPE(X) Class
92
+ #endif
93
+ #if !defined(SWIFT_CLASS_PROPERTY)
94
+ # if __has_feature(objc_class_property)
95
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
96
+ # else
97
+ # define SWIFT_CLASS_PROPERTY(...)
98
+ # endif
99
+ #endif
100
+ #if !defined(SWIFT_RUNTIME_NAME)
101
+ # if __has_attribute(objc_runtime_name)
102
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
103
+ # else
104
+ # define SWIFT_RUNTIME_NAME(X)
105
+ # endif
106
+ #endif
107
+ #if !defined(SWIFT_COMPILE_NAME)
108
+ # if __has_attribute(swift_name)
109
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
110
+ # else
111
+ # define SWIFT_COMPILE_NAME(X)
112
+ # endif
113
+ #endif
114
+ #if !defined(SWIFT_METHOD_FAMILY)
115
+ # if __has_attribute(objc_method_family)
116
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
117
+ # else
118
+ # define SWIFT_METHOD_FAMILY(X)
119
+ # endif
120
+ #endif
121
+ #if !defined(SWIFT_NOESCAPE)
122
+ # if __has_attribute(noescape)
123
+ # define SWIFT_NOESCAPE __attribute__((noescape))
124
+ # else
125
+ # define SWIFT_NOESCAPE
126
+ # endif
127
+ #endif
128
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
129
+ # if __has_attribute(ns_consumed)
130
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
131
+ # else
132
+ # define SWIFT_RELEASES_ARGUMENT
133
+ # endif
134
+ #endif
135
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
136
+ # if __has_attribute(warn_unused_result)
137
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
138
+ # else
139
+ # define SWIFT_WARN_UNUSED_RESULT
140
+ # endif
141
+ #endif
142
+ #if !defined(SWIFT_NORETURN)
143
+ # if __has_attribute(noreturn)
144
+ # define SWIFT_NORETURN __attribute__((noreturn))
145
+ # else
146
+ # define SWIFT_NORETURN
147
+ # endif
148
+ #endif
149
+ #if !defined(SWIFT_CLASS_EXTRA)
150
+ # define SWIFT_CLASS_EXTRA
151
+ #endif
152
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
153
+ # define SWIFT_PROTOCOL_EXTRA
154
+ #endif
155
+ #if !defined(SWIFT_ENUM_EXTRA)
156
+ # define SWIFT_ENUM_EXTRA
157
+ #endif
158
+ #if !defined(SWIFT_CLASS)
159
+ # if __has_attribute(objc_subclassing_restricted)
160
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
161
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
162
+ # else
163
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
164
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
165
+ # endif
166
+ #endif
167
+ #if !defined(SWIFT_RESILIENT_CLASS)
168
+ # if __has_attribute(objc_class_stub)
169
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
170
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
171
+ # else
172
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
173
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
174
+ # endif
175
+ #endif
176
+ #if !defined(SWIFT_PROTOCOL)
177
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
178
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
179
+ #endif
180
+ #if !defined(SWIFT_EXTENSION)
181
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
182
+ #endif
183
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
184
+ # if __has_attribute(objc_designated_initializer)
185
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
186
+ # else
187
+ # define OBJC_DESIGNATED_INITIALIZER
188
+ # endif
189
+ #endif
190
+ #if !defined(SWIFT_ENUM_ATTR)
191
+ # if __has_attribute(enum_extensibility)
192
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
193
+ # else
194
+ # define SWIFT_ENUM_ATTR(_extensibility)
195
+ # endif
196
+ #endif
197
+ #if !defined(SWIFT_ENUM)
198
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
199
+ # if __has_feature(generalized_swift_name)
200
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
201
+ # else
202
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
203
+ # endif
204
+ #endif
205
+ #if !defined(SWIFT_UNAVAILABLE)
206
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
207
+ #endif
208
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
209
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
210
+ #endif
211
+ #if !defined(SWIFT_AVAILABILITY)
212
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
213
+ #endif
214
+ #if !defined(SWIFT_WEAK_IMPORT)
215
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
216
+ #endif
217
+ #if !defined(SWIFT_DEPRECATED)
218
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
219
+ #endif
220
+ #if !defined(SWIFT_DEPRECATED_MSG)
221
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
222
+ #endif
223
+ #if !defined(SWIFT_DEPRECATED_OBJC)
224
+ # if __has_feature(attribute_diagnose_if_objc)
225
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
226
+ # else
227
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
228
+ # endif
229
+ #endif
230
+ #if defined(__OBJC__)
231
+ #if !defined(IBSegueAction)
232
+ # define IBSegueAction
233
+ #endif
234
+ #endif
235
+ #if !defined(SWIFT_EXTERN)
236
+ # if defined(__cplusplus)
237
+ # define SWIFT_EXTERN extern "C"
238
+ # else
239
+ # define SWIFT_EXTERN extern
240
+ # endif
241
+ #endif
242
+ #if !defined(SWIFT_CALL)
243
+ # define SWIFT_CALL __attribute__((swiftcall))
244
+ #endif
245
+ #if !defined(SWIFT_INDIRECT_RESULT)
246
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
247
+ #endif
248
+ #if !defined(SWIFT_CONTEXT)
249
+ # define SWIFT_CONTEXT __attribute__((swift_context))
250
+ #endif
251
+ #if !defined(SWIFT_ERROR_RESULT)
252
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
253
+ #endif
254
+ #if defined(__cplusplus)
255
+ # define SWIFT_NOEXCEPT noexcept
256
+ #else
257
+ # define SWIFT_NOEXCEPT
258
+ #endif
259
+ #if !defined(SWIFT_C_INLINE_THUNK)
260
+ # if __has_attribute(always_inline)
261
+ # if __has_attribute(nodebug)
262
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
263
+ # else
264
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
265
+ # endif
266
+ # else
267
+ # define SWIFT_C_INLINE_THUNK inline
268
+ # endif
269
+ #endif
270
+ #if defined(_WIN32)
271
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
272
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
273
+ #endif
274
+ #else
275
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
276
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
277
+ #endif
278
+ #endif
279
+ #if defined(__OBJC__)
280
+ #if __has_feature(objc_modules)
281
+ #if __has_warning("-Watimport-in-framework-header")
282
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
283
+ #endif
284
+ @import CoreBluetooth;
285
+ @import Foundation;
286
+ @import NativeEvsKit;
287
+ @import ObjectiveC;
288
+ #endif
289
+
290
+ #endif
291
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
292
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
293
+ #if __has_warning("-Wpragma-clang-attribute")
294
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
295
+ #endif
296
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
297
+ #pragma clang diagnostic ignored "-Wnullability"
298
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
299
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
300
+
301
+ #if __has_attribute(external_source_symbol)
302
+ # pragma push_macro("any")
303
+ # undef any
304
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="EvsKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
305
+ # pragma pop_macro("any")
306
+ #endif
307
+
308
+ #if defined(__OBJC__)
309
+
310
+ @class NSString;
311
+ @class NEKKotlinByteArray;
312
+ @protocol NEKIEvsCommunicationChannelListener;
313
+ @class NEKInt;
314
+ SWIFT_CLASS("_TtC6EvsKit13BLEPeripheral")
315
+ @interface BLEPeripheral : NSObject <NEKIBleDevice>
316
+ @property (nonatomic) BOOL enableAutoConnect;
317
+ - (void)setDeviceInfoId:(NSString * _Nonnull)id name:(NSString * _Nonnull)name;
318
+ - (NSString * _Nonnull)name_ SWIFT_WARN_UNUSED_RESULT;
319
+ - (BOOL)sendNowServiceUUID:(NSString * _Nonnull)serviceUUID charaUUID:(NSString * _Nonnull)charaUUID data:(NEKKotlinByteArray * _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
320
+ - (void)registerNotifyServiceUUID:(NSString * _Nonnull)serviceUUID charaUUID:(NSString * _Nonnull)charaUUID listener:(id <NEKIEvsCommunicationChannelListener> _Nonnull)listener;
321
+ - (int32_t)registerEventsListener:(id <NEKIEvsCommunicationChannelListener> _Nonnull)listener SWIFT_WARN_UNUSED_RESULT;
322
+ - (void)unregisterEventsWithId:(int32_t)withId;
323
+ - (void)unregisterNotifyServiceUUID:(NSString * _Nonnull)serviceUUID charaUUID:(NSString * _Nonnull)charaUUID listener:(id <NEKIEvsCommunicationChannelListener> _Nonnull)listener;
324
+ - (BOOL)hasConsumers SWIFT_WARN_UNUSED_RESULT;
325
+ - (BOOL)connect SWIFT_WARN_UNUSED_RESULT;
326
+ - (BOOL)connectSecured SWIFT_WARN_UNUSED_RESULT;
327
+ - (BOOL)disconnect SWIFT_WARN_UNUSED_RESULT;
328
+ - (int32_t)getMtuSize SWIFT_WARN_UNUSED_RESULT;
329
+ - (BOOL)isAdapterEnabled SWIFT_WARN_UNUSED_RESULT;
330
+ - (BOOL)isConnected SWIFT_WARN_UNUSED_RESULT;
331
+ - (BOOL)isConnecting SWIFT_WARN_UNUSED_RESULT;
332
+ - (BOOL)requestBatteryReadCallback:(void (^ _Nonnull)(NEKInt * _Nonnull))callback SWIFT_WARN_UNUSED_RESULT;
333
+ - (BOOL)requestRssiReadCallback:(void (^ _Nonnull)(NEKInt * _Nonnull))callback SWIFT_WARN_UNUSED_RESULT;
334
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
335
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
336
+ @end
337
+
338
+ @class CBPeripheral;
339
+ @class CBService;
340
+ @class CBCharacteristic;
341
+ @interface BLEPeripheral (SWIFT_EXTENSION(EvsKit)) <CBPeripheralDelegate>
342
+ - (void)peripheralIsReadyToSendWriteWithoutResponse:(CBPeripheral * _Nonnull)peripheral;
343
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didDiscoverServices:(NSError * _Nullable)error;
344
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didDiscoverCharacteristicsForService:(CBService * _Nonnull)service error:(NSError * _Nullable)error;
345
+ - (void)peripheralDidUpdateRSSI:(CBPeripheral * _Nonnull)peripheral error:(NSError * _Nullable)error;
346
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didUpdateValueForCharacteristic:(CBCharacteristic * _Nonnull)characteristic error:(NSError * _Nullable)error;
347
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didUpdateNotificationStateForCharacteristic:(CBCharacteristic * _Nonnull)characteristic error:(NSError * _Nullable)error;
348
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didModifyServices:(NSArray<CBService *> * _Nonnull)invalidatedServices;
349
+ @end
350
+
351
+ SWIFT_CLASS("_TtC6EvsKit17EvsSensorsManager")
352
+ @interface EvsSensorsManager : NSObject
353
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
354
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
355
+ @end
356
+
357
+ @class CBCentralManager;
358
+ @class NSNumber;
359
+ @interface EvsSensorsManager (SWIFT_EXTENSION(EvsKit)) <CBCentralManagerDelegate>
360
+ - (void)centralManagerDidUpdateState:(CBCentralManager * _Nonnull)central;
361
+ - (void)centralManager:(CBCentralManager * _Nonnull)central didDiscoverPeripheral:(CBPeripheral * _Nonnull)peripheral advertisementData:(NSDictionary<NSString *, id> * _Nonnull)advertisementData RSSI:(NSNumber * _Nonnull)RSSI;
362
+ - (void)centralManager:(CBCentralManager * _Nonnull)central didFailToConnectPeripheral:(CBPeripheral * _Nonnull)peripheral error:(NSError * _Nullable)error;
363
+ - (void)centralManager:(CBCentralManager * _Nonnull)central didConnectPeripheral:(CBPeripheral * _Nonnull)peripheral;
364
+ - (void)centralManager:(CBCentralManager * _Nonnull)central didDisconnectPeripheral:(CBPeripheral * _Nonnull)peripheral error:(NSError * _Nullable)error;
365
+ @end
366
+
367
+ @protocol NEKIEvsLogger;
368
+ SWIFT_CLASS("_TtC6EvsKit15EvsSystemLogger")
369
+ @interface EvsSystemLogger : NSObject <NEKIEvsSystemLogger>
370
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
371
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
372
+ - (void)terminate;
373
+ - (BOOL)isDebug SWIFT_WARN_UNUSED_RESULT;
374
+ - (void)setDebugModeIsDebug:(BOOL)isDebug;
375
+ - (id <NEKIEvsLogger> _Nullable)doInitType:(NSString * _Nonnull)type headers:(NEKKotlinArray<NSString *> * _Nonnull)headers SWIFT_WARN_UNUSED_RESULT;
376
+ - (id <NEKIEvsLogger> _Nullable)loggerType:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
377
+ @end
378
+
379
+ #endif
380
+ #if __has_attribute(external_source_symbol)
381
+ # pragma clang attribute pop
382
+ #endif
383
+ #if defined(__cplusplus)
384
+ #endif
385
+ #pragma clang diagnostic pop
386
+ #endif
387
+
388
+ #elif defined(__x86_64__) && __x86_64__
389
+ // Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
390
+ #ifndef EVSKIT_SWIFT_H
391
+ #define EVSKIT_SWIFT_H
392
+ #pragma clang diagnostic push
393
+ #pragma clang diagnostic ignored "-Wgcc-compat"
394
+
395
+ #if !defined(__has_include)
396
+ # define __has_include(x) 0
397
+ #endif
398
+ #if !defined(__has_attribute)
399
+ # define __has_attribute(x) 0
400
+ #endif
401
+ #if !defined(__has_feature)
402
+ # define __has_feature(x) 0
403
+ #endif
404
+ #if !defined(__has_warning)
405
+ # define __has_warning(x) 0
406
+ #endif
407
+
408
+ #if __has_include(<swift/objc-prologue.h>)
409
+ # include <swift/objc-prologue.h>
410
+ #endif
411
+
412
+ #pragma clang diagnostic ignored "-Wauto-import"
413
+ #if defined(__OBJC__)
414
+ #include <Foundation/Foundation.h>
415
+ #endif
416
+ #if defined(__cplusplus)
417
+ #include <cstdint>
418
+ #include <cstddef>
419
+ #include <cstdbool>
420
+ #include <cstring>
421
+ #include <stdlib.h>
422
+ #include <new>
423
+ #include <type_traits>
424
+ #else
425
+ #include <stdint.h>
426
+ #include <stddef.h>
427
+ #include <stdbool.h>
428
+ #include <string.h>
429
+ #endif
430
+ #if defined(__cplusplus)
431
+ #pragma clang diagnostic push
432
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
433
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
434
+ # include <ptrauth.h>
435
+ #else
436
+ #pragma clang diagnostic push
437
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
438
+ # ifndef __ptrauth_swift_value_witness_function_pointer
439
+ # define __ptrauth_swift_value_witness_function_pointer(x)
440
+ # endif
441
+ # ifndef __ptrauth_swift_class_method_pointer
442
+ # define __ptrauth_swift_class_method_pointer(x)
443
+ # endif
444
+ #pragma clang diagnostic pop
445
+ #endif
446
+ #pragma clang diagnostic pop
447
+ #endif
448
+
449
+ #if !defined(SWIFT_TYPEDEFS)
450
+ # define SWIFT_TYPEDEFS 1
451
+ # if __has_include(<uchar.h>)
452
+ # include <uchar.h>
453
+ # elif !defined(__cplusplus)
454
+ typedef unsigned char char8_t;
455
+ typedef uint_least16_t char16_t;
456
+ typedef uint_least32_t char32_t;
457
+ # endif
458
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
459
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
460
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
461
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
462
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
463
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
464
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
465
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
466
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
467
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
468
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
469
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
470
+ #endif
471
+
472
+ #if !defined(SWIFT_PASTE)
473
+ # define SWIFT_PASTE_HELPER(x, y) x##y
474
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
475
+ #endif
476
+ #if !defined(SWIFT_METATYPE)
477
+ # define SWIFT_METATYPE(X) Class
478
+ #endif
479
+ #if !defined(SWIFT_CLASS_PROPERTY)
480
+ # if __has_feature(objc_class_property)
481
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
482
+ # else
483
+ # define SWIFT_CLASS_PROPERTY(...)
484
+ # endif
485
+ #endif
486
+ #if !defined(SWIFT_RUNTIME_NAME)
487
+ # if __has_attribute(objc_runtime_name)
488
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
489
+ # else
490
+ # define SWIFT_RUNTIME_NAME(X)
491
+ # endif
492
+ #endif
493
+ #if !defined(SWIFT_COMPILE_NAME)
494
+ # if __has_attribute(swift_name)
495
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
496
+ # else
497
+ # define SWIFT_COMPILE_NAME(X)
498
+ # endif
499
+ #endif
500
+ #if !defined(SWIFT_METHOD_FAMILY)
501
+ # if __has_attribute(objc_method_family)
502
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
503
+ # else
504
+ # define SWIFT_METHOD_FAMILY(X)
505
+ # endif
506
+ #endif
507
+ #if !defined(SWIFT_NOESCAPE)
508
+ # if __has_attribute(noescape)
509
+ # define SWIFT_NOESCAPE __attribute__((noescape))
510
+ # else
511
+ # define SWIFT_NOESCAPE
512
+ # endif
513
+ #endif
514
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
515
+ # if __has_attribute(ns_consumed)
516
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
517
+ # else
518
+ # define SWIFT_RELEASES_ARGUMENT
519
+ # endif
520
+ #endif
521
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
522
+ # if __has_attribute(warn_unused_result)
523
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
524
+ # else
525
+ # define SWIFT_WARN_UNUSED_RESULT
526
+ # endif
527
+ #endif
528
+ #if !defined(SWIFT_NORETURN)
529
+ # if __has_attribute(noreturn)
530
+ # define SWIFT_NORETURN __attribute__((noreturn))
531
+ # else
532
+ # define SWIFT_NORETURN
533
+ # endif
534
+ #endif
535
+ #if !defined(SWIFT_CLASS_EXTRA)
536
+ # define SWIFT_CLASS_EXTRA
537
+ #endif
538
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
539
+ # define SWIFT_PROTOCOL_EXTRA
540
+ #endif
541
+ #if !defined(SWIFT_ENUM_EXTRA)
542
+ # define SWIFT_ENUM_EXTRA
543
+ #endif
544
+ #if !defined(SWIFT_CLASS)
545
+ # if __has_attribute(objc_subclassing_restricted)
546
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
547
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
548
+ # else
549
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
550
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
551
+ # endif
552
+ #endif
553
+ #if !defined(SWIFT_RESILIENT_CLASS)
554
+ # if __has_attribute(objc_class_stub)
555
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
556
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
557
+ # else
558
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
559
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
560
+ # endif
561
+ #endif
562
+ #if !defined(SWIFT_PROTOCOL)
563
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
564
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
565
+ #endif
566
+ #if !defined(SWIFT_EXTENSION)
567
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
568
+ #endif
569
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
570
+ # if __has_attribute(objc_designated_initializer)
571
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
572
+ # else
573
+ # define OBJC_DESIGNATED_INITIALIZER
574
+ # endif
575
+ #endif
576
+ #if !defined(SWIFT_ENUM_ATTR)
577
+ # if __has_attribute(enum_extensibility)
578
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
579
+ # else
580
+ # define SWIFT_ENUM_ATTR(_extensibility)
581
+ # endif
582
+ #endif
583
+ #if !defined(SWIFT_ENUM)
584
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
585
+ # if __has_feature(generalized_swift_name)
586
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
587
+ # else
588
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
589
+ # endif
590
+ #endif
591
+ #if !defined(SWIFT_UNAVAILABLE)
592
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
593
+ #endif
594
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
595
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
596
+ #endif
597
+ #if !defined(SWIFT_AVAILABILITY)
598
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
599
+ #endif
600
+ #if !defined(SWIFT_WEAK_IMPORT)
601
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
602
+ #endif
603
+ #if !defined(SWIFT_DEPRECATED)
604
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
605
+ #endif
606
+ #if !defined(SWIFT_DEPRECATED_MSG)
607
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
608
+ #endif
609
+ #if !defined(SWIFT_DEPRECATED_OBJC)
610
+ # if __has_feature(attribute_diagnose_if_objc)
611
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
612
+ # else
613
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
614
+ # endif
615
+ #endif
616
+ #if defined(__OBJC__)
617
+ #if !defined(IBSegueAction)
618
+ # define IBSegueAction
619
+ #endif
620
+ #endif
621
+ #if !defined(SWIFT_EXTERN)
622
+ # if defined(__cplusplus)
623
+ # define SWIFT_EXTERN extern "C"
624
+ # else
625
+ # define SWIFT_EXTERN extern
626
+ # endif
627
+ #endif
628
+ #if !defined(SWIFT_CALL)
629
+ # define SWIFT_CALL __attribute__((swiftcall))
630
+ #endif
631
+ #if !defined(SWIFT_INDIRECT_RESULT)
632
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
633
+ #endif
634
+ #if !defined(SWIFT_CONTEXT)
635
+ # define SWIFT_CONTEXT __attribute__((swift_context))
636
+ #endif
637
+ #if !defined(SWIFT_ERROR_RESULT)
638
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
639
+ #endif
640
+ #if defined(__cplusplus)
641
+ # define SWIFT_NOEXCEPT noexcept
642
+ #else
643
+ # define SWIFT_NOEXCEPT
644
+ #endif
645
+ #if !defined(SWIFT_C_INLINE_THUNK)
646
+ # if __has_attribute(always_inline)
647
+ # if __has_attribute(nodebug)
648
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
649
+ # else
650
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
651
+ # endif
652
+ # else
653
+ # define SWIFT_C_INLINE_THUNK inline
654
+ # endif
655
+ #endif
656
+ #if defined(_WIN32)
657
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
658
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
659
+ #endif
660
+ #else
661
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
662
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
663
+ #endif
664
+ #endif
665
+ #if defined(__OBJC__)
666
+ #if __has_feature(objc_modules)
667
+ #if __has_warning("-Watimport-in-framework-header")
668
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
669
+ #endif
670
+ @import CoreBluetooth;
671
+ @import Foundation;
672
+ @import NativeEvsKit;
673
+ @import ObjectiveC;
674
+ #endif
675
+
676
+ #endif
677
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
678
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
679
+ #if __has_warning("-Wpragma-clang-attribute")
680
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
681
+ #endif
682
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
683
+ #pragma clang diagnostic ignored "-Wnullability"
684
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
685
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
686
+
687
+ #if __has_attribute(external_source_symbol)
688
+ # pragma push_macro("any")
689
+ # undef any
690
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="EvsKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
691
+ # pragma pop_macro("any")
692
+ #endif
693
+
694
+ #if defined(__OBJC__)
695
+
696
+ @class NSString;
697
+ @class NEKKotlinByteArray;
698
+ @protocol NEKIEvsCommunicationChannelListener;
699
+ @class NEKInt;
700
+ SWIFT_CLASS("_TtC6EvsKit13BLEPeripheral")
701
+ @interface BLEPeripheral : NSObject <NEKIBleDevice>
702
+ @property (nonatomic) BOOL enableAutoConnect;
703
+ - (void)setDeviceInfoId:(NSString * _Nonnull)id name:(NSString * _Nonnull)name;
704
+ - (NSString * _Nonnull)name_ SWIFT_WARN_UNUSED_RESULT;
705
+ - (BOOL)sendNowServiceUUID:(NSString * _Nonnull)serviceUUID charaUUID:(NSString * _Nonnull)charaUUID data:(NEKKotlinByteArray * _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
706
+ - (void)registerNotifyServiceUUID:(NSString * _Nonnull)serviceUUID charaUUID:(NSString * _Nonnull)charaUUID listener:(id <NEKIEvsCommunicationChannelListener> _Nonnull)listener;
707
+ - (int32_t)registerEventsListener:(id <NEKIEvsCommunicationChannelListener> _Nonnull)listener SWIFT_WARN_UNUSED_RESULT;
708
+ - (void)unregisterEventsWithId:(int32_t)withId;
709
+ - (void)unregisterNotifyServiceUUID:(NSString * _Nonnull)serviceUUID charaUUID:(NSString * _Nonnull)charaUUID listener:(id <NEKIEvsCommunicationChannelListener> _Nonnull)listener;
710
+ - (BOOL)hasConsumers SWIFT_WARN_UNUSED_RESULT;
711
+ - (BOOL)connect SWIFT_WARN_UNUSED_RESULT;
712
+ - (BOOL)connectSecured SWIFT_WARN_UNUSED_RESULT;
713
+ - (BOOL)disconnect SWIFT_WARN_UNUSED_RESULT;
714
+ - (int32_t)getMtuSize SWIFT_WARN_UNUSED_RESULT;
715
+ - (BOOL)isAdapterEnabled SWIFT_WARN_UNUSED_RESULT;
716
+ - (BOOL)isConnected SWIFT_WARN_UNUSED_RESULT;
717
+ - (BOOL)isConnecting SWIFT_WARN_UNUSED_RESULT;
718
+ - (BOOL)requestBatteryReadCallback:(void (^ _Nonnull)(NEKInt * _Nonnull))callback SWIFT_WARN_UNUSED_RESULT;
719
+ - (BOOL)requestRssiReadCallback:(void (^ _Nonnull)(NEKInt * _Nonnull))callback SWIFT_WARN_UNUSED_RESULT;
720
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
721
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
722
+ @end
723
+
724
+ @class CBPeripheral;
725
+ @class CBService;
726
+ @class CBCharacteristic;
727
+ @interface BLEPeripheral (SWIFT_EXTENSION(EvsKit)) <CBPeripheralDelegate>
728
+ - (void)peripheralIsReadyToSendWriteWithoutResponse:(CBPeripheral * _Nonnull)peripheral;
729
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didDiscoverServices:(NSError * _Nullable)error;
730
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didDiscoverCharacteristicsForService:(CBService * _Nonnull)service error:(NSError * _Nullable)error;
731
+ - (void)peripheralDidUpdateRSSI:(CBPeripheral * _Nonnull)peripheral error:(NSError * _Nullable)error;
732
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didUpdateValueForCharacteristic:(CBCharacteristic * _Nonnull)characteristic error:(NSError * _Nullable)error;
733
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didUpdateNotificationStateForCharacteristic:(CBCharacteristic * _Nonnull)characteristic error:(NSError * _Nullable)error;
734
+ - (void)peripheral:(CBPeripheral * _Nonnull)peripheral didModifyServices:(NSArray<CBService *> * _Nonnull)invalidatedServices;
735
+ @end
736
+
737
+ SWIFT_CLASS("_TtC6EvsKit17EvsSensorsManager")
738
+ @interface EvsSensorsManager : NSObject
739
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
740
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
741
+ @end
742
+
743
+ @class CBCentralManager;
744
+ @class NSNumber;
745
+ @interface EvsSensorsManager (SWIFT_EXTENSION(EvsKit)) <CBCentralManagerDelegate>
746
+ - (void)centralManagerDidUpdateState:(CBCentralManager * _Nonnull)central;
747
+ - (void)centralManager:(CBCentralManager * _Nonnull)central didDiscoverPeripheral:(CBPeripheral * _Nonnull)peripheral advertisementData:(NSDictionary<NSString *, id> * _Nonnull)advertisementData RSSI:(NSNumber * _Nonnull)RSSI;
748
+ - (void)centralManager:(CBCentralManager * _Nonnull)central didFailToConnectPeripheral:(CBPeripheral * _Nonnull)peripheral error:(NSError * _Nullable)error;
749
+ - (void)centralManager:(CBCentralManager * _Nonnull)central didConnectPeripheral:(CBPeripheral * _Nonnull)peripheral;
750
+ - (void)centralManager:(CBCentralManager * _Nonnull)central didDisconnectPeripheral:(CBPeripheral * _Nonnull)peripheral error:(NSError * _Nullable)error;
751
+ @end
752
+
753
+ @protocol NEKIEvsLogger;
754
+ SWIFT_CLASS("_TtC6EvsKit15EvsSystemLogger")
755
+ @interface EvsSystemLogger : NSObject <NEKIEvsSystemLogger>
756
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
757
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
758
+ - (void)terminate;
759
+ - (BOOL)isDebug SWIFT_WARN_UNUSED_RESULT;
760
+ - (void)setDebugModeIsDebug:(BOOL)isDebug;
761
+ - (id <NEKIEvsLogger> _Nullable)doInitType:(NSString * _Nonnull)type headers:(NEKKotlinArray<NSString *> * _Nonnull)headers SWIFT_WARN_UNUSED_RESULT;
762
+ - (id <NEKIEvsLogger> _Nullable)loggerType:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
763
+ @end
764
+
765
+ #endif
766
+ #if __has_attribute(external_source_symbol)
767
+ # pragma clang attribute pop
768
+ #endif
769
+ #if defined(__cplusplus)
770
+ #endif
771
+ #pragma clang diagnostic pop
772
+ #endif
773
+
774
+ #else
775
+ #error unsupported Swift architecture
776
+ #endif