@grouplinknetwork/rn-grouplink-sdk 2.3.12 → 2.4.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.
- package/android/src/main/java/com/grouplinksdk/GrouplinkSdkModule.java +2 -2
- package/grouplink-sdk.podspec +2 -2
- package/ios/Frameworks/GroupLink-original.xcframework/Info.plist +59 -0
- package/ios/Frameworks/GroupLink-original.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/_CodeSignature/CodeResources +607 -0
- package/ios/Frameworks/GroupLink-original.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/GroupLink +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink-Swift.h +388 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Info.plist +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.abi.json +9288 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/_CodeSignature/CodeResources +212 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/critical.aiff +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/GroupLink +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink-Swift.h +772 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Info.plist +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.abi.json +9288 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.abi.json +9288 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/_CodeSignature/CodeResources +267 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/critical.aiff +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/GroupLink +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Headers/GroupLink-Swift.h +744 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/arm64-apple-macos.abi.json +8376 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/arm64-apple-macos.private.swiftinterface +175 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/arm64-apple-macos.swiftinterface +175 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/x86_64-apple-macos.abi.json +8376 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/x86_64-apple-macos.private.swiftinterface +175 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/x86_64-apple-macos.swiftinterface +175 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Resources/Info.plist +46 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Resources/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Resources/critical.aiff +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/_CodeSignature/CodeResources +241 -0
- package/ios/Frameworks/GroupLink.xcframework/Info.plist +44 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/GroupLink +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink-Swift.h +388 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Info.plist +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.abi.json +9288 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/_CodeSignature/CodeResources +212 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/critical.aiff +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/GroupLink +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink-Swift.h +772 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Info.plist +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.abi.json +9288 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.abi.json +9288 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/_CodeSignature/CodeResources +267 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/critical.aiff +0 -0
- package/ios/GrouplinkSdk.m +1 -1
- package/ios/GrouplinkSdk.swift +4 -0
- package/ios/GrouplinkSdk.xcodeproj/project.pbxproj +27 -4
- package/ios/GrouplinkSdk.xcodeproj/project.xcworkspace/xcuserdata/alessandrodearaujo.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/lib/commonjs/index.js +23 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +20 -2
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/index.d.ts +3 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +23 -4
|
@@ -0,0 +1,772 @@
|
|
|
1
|
+
#if 0
|
|
2
|
+
#elif defined(__arm64__) && __arm64__
|
|
3
|
+
// Generated by Apple Swift version 6.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
|
|
4
|
+
#ifndef GROUPLINK_SWIFT_H
|
|
5
|
+
#define GROUPLINK_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 CoreLocation;
|
|
285
|
+
@import Foundation;
|
|
286
|
+
@import ObjectiveC;
|
|
287
|
+
#endif
|
|
288
|
+
|
|
289
|
+
#endif
|
|
290
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
291
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
292
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
293
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
294
|
+
#endif
|
|
295
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
296
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
297
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
298
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
299
|
+
|
|
300
|
+
#if __has_attribute(external_source_symbol)
|
|
301
|
+
# pragma push_macro("any")
|
|
302
|
+
# undef any
|
|
303
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GroupLink",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
304
|
+
# pragma pop_macro("any")
|
|
305
|
+
#endif
|
|
306
|
+
|
|
307
|
+
#if defined(__OBJC__)
|
|
308
|
+
|
|
309
|
+
enum EventType : NSInteger;
|
|
310
|
+
SWIFT_PROTOCOL("_TtP9GroupLink21EventNotifierDelegate_")
|
|
311
|
+
@protocol EventNotifierDelegate
|
|
312
|
+
- (void)eventNotifier:(enum EventType)eventType :(NSInteger)deviceID :(NSInteger)duration;
|
|
313
|
+
@end
|
|
314
|
+
|
|
315
|
+
@class UNNotificationRequest;
|
|
316
|
+
@class UNNotificationContent;
|
|
317
|
+
@class UNMutableNotificationContent;
|
|
318
|
+
@class UNUserNotificationCenter;
|
|
319
|
+
@class UNNotificationResponse;
|
|
320
|
+
@class NSString;
|
|
321
|
+
SWIFT_CLASS("_TtC9GroupLink22GroupLinkNotifications")
|
|
322
|
+
@interface GroupLinkNotifications : NSObject
|
|
323
|
+
+ (BOOL)isGroupLinkNotificationWithRequest:(UNNotificationRequest * _Nonnull)request contentHandler:(SWIFT_NOESCAPE void (^ _Nonnull)(UNNotificationContent * _Nonnull))contentHandler bestAttemptContent:(UNMutableNotificationContent * _Nullable)bestAttemptContent SWIFT_WARN_UNUSED_RESULT;
|
|
324
|
+
+ (void)GLNotificationDidReceive:(UNUserNotificationCenter * _Nonnull)center didReceive:(UNNotificationResponse * _Nonnull)response;
|
|
325
|
+
+ (void)GLNotificationDidReceive:(UNUserNotificationCenter * _Nonnull)center didReceive:(UNNotificationResponse * _Nonnull)response withCompletionHandler:(void (^ _Nonnull)(void))completionHandler;
|
|
326
|
+
+ (void)setRemoteNotificationToken:(NSString * _Nonnull)token;
|
|
327
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
328
|
+
@end
|
|
329
|
+
|
|
330
|
+
SWIFT_CLASS("_TtC9GroupLink12GroupLinkSDK")
|
|
331
|
+
@interface GroupLinkSDK : NSObject
|
|
332
|
+
+ (void)sendNotificationToken:(NSString * _Nonnull)token SWIFT_DEPRECATED_MSG("Use GroupLinkNotifications.setRemoteNotificationToken(_ token: String)");
|
|
333
|
+
+ (void)startWithToken:(NSString * _Nonnull)token;
|
|
334
|
+
+ (void)startBluetooth;
|
|
335
|
+
+ (void)checkBluetooth;
|
|
336
|
+
+ (void)startLocation;
|
|
337
|
+
+ (NSString * _Nullable)getUserID SWIFT_WARN_UNUSED_RESULT;
|
|
338
|
+
+ (NSString * _Nullable)getCurrentVersion SWIFT_WARN_UNUSED_RESULT;
|
|
339
|
+
+ (void)setNotificationName:(NSString * _Nonnull)name;
|
|
340
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
341
|
+
@end
|
|
342
|
+
|
|
343
|
+
@interface GroupLinkSDK (SWIFT_EXTENSION(GroupLink))
|
|
344
|
+
/// Set the Event Notification Delegate to receive calls from the Event module.
|
|
345
|
+
/// The class/struct delagate needs to conform with the delegate and implement the necessaries functions to work properly.
|
|
346
|
+
+ (void)setEventNotifierDelegate:(id <EventNotifierDelegate> _Nonnull)delegate;
|
|
347
|
+
/// This function sets a timer to trigger whenVisiting event using the EventNotifierDelegate.
|
|
348
|
+
/// The timer here is calculated in ms, so if you want your whenVisiting event within 5 minutes, you have to declare the value of 300000.
|
|
349
|
+
/// note:
|
|
350
|
+
/// The default and minimum time you can to set is 180000 (3 minutes).
|
|
351
|
+
/// \param timer Time to send an whenVisisting event to the delegate.
|
|
352
|
+
///
|
|
353
|
+
+ (void)whenVisitingTimer:(NSInteger)timer;
|
|
354
|
+
@end
|
|
355
|
+
|
|
356
|
+
/// The Event Type enum generated by the Event delegate.
|
|
357
|
+
typedef SWIFT_ENUM(NSInteger, EventType, open) {
|
|
358
|
+
/// The Event Type generated by the Event Delegate when the user enters in range with a Group Link Device
|
|
359
|
+
EventTypeWhenEnter = 0,
|
|
360
|
+
/// The Event Type generated by the Event Delegate when the user stays for a determined time in range with a Group Link Device
|
|
361
|
+
EventTypeWhenVisiting = 1,
|
|
362
|
+
/// The Event Type generated by the Event Delegate when the user exits in range with a Group Link Device
|
|
363
|
+
EventTypeWhenExit = 2,
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
@class CLLocationManager;
|
|
367
|
+
@class CLLocation;
|
|
368
|
+
SWIFT_CLASS("_TtC9GroupLink17HSLocationManager")
|
|
369
|
+
@interface HSLocationManager : NSObject <CLLocationManagerDelegate>
|
|
370
|
+
- (void)locationManager:(CLLocationManager * _Nonnull)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status;
|
|
371
|
+
- (void)locationManager:(CLLocationManager * _Nonnull)manager didFailWithError:(NSError * _Nonnull)error;
|
|
372
|
+
- (void)locationManager:(CLLocationManager * _Nonnull)manager didUpdateLocations:(NSArray<CLLocation *> * _Nonnull)locations;
|
|
373
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
374
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
375
|
+
@end
|
|
376
|
+
|
|
377
|
+
#endif
|
|
378
|
+
#if __has_attribute(external_source_symbol)
|
|
379
|
+
# pragma clang attribute pop
|
|
380
|
+
#endif
|
|
381
|
+
#if defined(__cplusplus)
|
|
382
|
+
#endif
|
|
383
|
+
#pragma clang diagnostic pop
|
|
384
|
+
#endif
|
|
385
|
+
|
|
386
|
+
#elif defined(__x86_64__) && __x86_64__
|
|
387
|
+
// Generated by Apple Swift version 6.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
|
|
388
|
+
#ifndef GROUPLINK_SWIFT_H
|
|
389
|
+
#define GROUPLINK_SWIFT_H
|
|
390
|
+
#pragma clang diagnostic push
|
|
391
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
392
|
+
|
|
393
|
+
#if !defined(__has_include)
|
|
394
|
+
# define __has_include(x) 0
|
|
395
|
+
#endif
|
|
396
|
+
#if !defined(__has_attribute)
|
|
397
|
+
# define __has_attribute(x) 0
|
|
398
|
+
#endif
|
|
399
|
+
#if !defined(__has_feature)
|
|
400
|
+
# define __has_feature(x) 0
|
|
401
|
+
#endif
|
|
402
|
+
#if !defined(__has_warning)
|
|
403
|
+
# define __has_warning(x) 0
|
|
404
|
+
#endif
|
|
405
|
+
|
|
406
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
407
|
+
# include <swift/objc-prologue.h>
|
|
408
|
+
#endif
|
|
409
|
+
|
|
410
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
411
|
+
#if defined(__OBJC__)
|
|
412
|
+
#include <Foundation/Foundation.h>
|
|
413
|
+
#endif
|
|
414
|
+
#if defined(__cplusplus)
|
|
415
|
+
#include <cstdint>
|
|
416
|
+
#include <cstddef>
|
|
417
|
+
#include <cstdbool>
|
|
418
|
+
#include <cstring>
|
|
419
|
+
#include <stdlib.h>
|
|
420
|
+
#include <new>
|
|
421
|
+
#include <type_traits>
|
|
422
|
+
#else
|
|
423
|
+
#include <stdint.h>
|
|
424
|
+
#include <stddef.h>
|
|
425
|
+
#include <stdbool.h>
|
|
426
|
+
#include <string.h>
|
|
427
|
+
#endif
|
|
428
|
+
#if defined(__cplusplus)
|
|
429
|
+
#pragma clang diagnostic push
|
|
430
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
431
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
432
|
+
# include <ptrauth.h>
|
|
433
|
+
#else
|
|
434
|
+
#pragma clang diagnostic push
|
|
435
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
436
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
437
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
438
|
+
# endif
|
|
439
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
440
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
441
|
+
# endif
|
|
442
|
+
#pragma clang diagnostic pop
|
|
443
|
+
#endif
|
|
444
|
+
#pragma clang diagnostic pop
|
|
445
|
+
#endif
|
|
446
|
+
|
|
447
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
448
|
+
# define SWIFT_TYPEDEFS 1
|
|
449
|
+
# if __has_include(<uchar.h>)
|
|
450
|
+
# include <uchar.h>
|
|
451
|
+
# elif !defined(__cplusplus)
|
|
452
|
+
typedef unsigned char char8_t;
|
|
453
|
+
typedef uint_least16_t char16_t;
|
|
454
|
+
typedef uint_least32_t char32_t;
|
|
455
|
+
# endif
|
|
456
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
457
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
458
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
459
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
460
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
461
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
462
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
463
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
464
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
465
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
466
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
467
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
468
|
+
#endif
|
|
469
|
+
|
|
470
|
+
#if !defined(SWIFT_PASTE)
|
|
471
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
472
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
473
|
+
#endif
|
|
474
|
+
#if !defined(SWIFT_METATYPE)
|
|
475
|
+
# define SWIFT_METATYPE(X) Class
|
|
476
|
+
#endif
|
|
477
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
478
|
+
# if __has_feature(objc_class_property)
|
|
479
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
480
|
+
# else
|
|
481
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
482
|
+
# endif
|
|
483
|
+
#endif
|
|
484
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
485
|
+
# if __has_attribute(objc_runtime_name)
|
|
486
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
487
|
+
# else
|
|
488
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
489
|
+
# endif
|
|
490
|
+
#endif
|
|
491
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
492
|
+
# if __has_attribute(swift_name)
|
|
493
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
494
|
+
# else
|
|
495
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
496
|
+
# endif
|
|
497
|
+
#endif
|
|
498
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
499
|
+
# if __has_attribute(objc_method_family)
|
|
500
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
501
|
+
# else
|
|
502
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
503
|
+
# endif
|
|
504
|
+
#endif
|
|
505
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
506
|
+
# if __has_attribute(noescape)
|
|
507
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
508
|
+
# else
|
|
509
|
+
# define SWIFT_NOESCAPE
|
|
510
|
+
# endif
|
|
511
|
+
#endif
|
|
512
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
513
|
+
# if __has_attribute(ns_consumed)
|
|
514
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
515
|
+
# else
|
|
516
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
517
|
+
# endif
|
|
518
|
+
#endif
|
|
519
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
520
|
+
# if __has_attribute(warn_unused_result)
|
|
521
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
522
|
+
# else
|
|
523
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
524
|
+
# endif
|
|
525
|
+
#endif
|
|
526
|
+
#if !defined(SWIFT_NORETURN)
|
|
527
|
+
# if __has_attribute(noreturn)
|
|
528
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
529
|
+
# else
|
|
530
|
+
# define SWIFT_NORETURN
|
|
531
|
+
# endif
|
|
532
|
+
#endif
|
|
533
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
534
|
+
# define SWIFT_CLASS_EXTRA
|
|
535
|
+
#endif
|
|
536
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
537
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
538
|
+
#endif
|
|
539
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
540
|
+
# define SWIFT_ENUM_EXTRA
|
|
541
|
+
#endif
|
|
542
|
+
#if !defined(SWIFT_CLASS)
|
|
543
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
544
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
545
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
546
|
+
# else
|
|
547
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
548
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
549
|
+
# endif
|
|
550
|
+
#endif
|
|
551
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
552
|
+
# if __has_attribute(objc_class_stub)
|
|
553
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
554
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
555
|
+
# else
|
|
556
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
557
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
558
|
+
# endif
|
|
559
|
+
#endif
|
|
560
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
561
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
562
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
563
|
+
#endif
|
|
564
|
+
#if !defined(SWIFT_EXTENSION)
|
|
565
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
566
|
+
#endif
|
|
567
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
568
|
+
# if __has_attribute(objc_designated_initializer)
|
|
569
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
570
|
+
# else
|
|
571
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
572
|
+
# endif
|
|
573
|
+
#endif
|
|
574
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
575
|
+
# if __has_attribute(enum_extensibility)
|
|
576
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
577
|
+
# else
|
|
578
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
579
|
+
# endif
|
|
580
|
+
#endif
|
|
581
|
+
#if !defined(SWIFT_ENUM)
|
|
582
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
583
|
+
# if __has_feature(generalized_swift_name)
|
|
584
|
+
# 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
|
|
585
|
+
# else
|
|
586
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
587
|
+
# endif
|
|
588
|
+
#endif
|
|
589
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
590
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
591
|
+
#endif
|
|
592
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
593
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
594
|
+
#endif
|
|
595
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
596
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
597
|
+
#endif
|
|
598
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
599
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
600
|
+
#endif
|
|
601
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
602
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
603
|
+
#endif
|
|
604
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
605
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
606
|
+
#endif
|
|
607
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
608
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
609
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
610
|
+
# else
|
|
611
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
612
|
+
# endif
|
|
613
|
+
#endif
|
|
614
|
+
#if defined(__OBJC__)
|
|
615
|
+
#if !defined(IBSegueAction)
|
|
616
|
+
# define IBSegueAction
|
|
617
|
+
#endif
|
|
618
|
+
#endif
|
|
619
|
+
#if !defined(SWIFT_EXTERN)
|
|
620
|
+
# if defined(__cplusplus)
|
|
621
|
+
# define SWIFT_EXTERN extern "C"
|
|
622
|
+
# else
|
|
623
|
+
# define SWIFT_EXTERN extern
|
|
624
|
+
# endif
|
|
625
|
+
#endif
|
|
626
|
+
#if !defined(SWIFT_CALL)
|
|
627
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
628
|
+
#endif
|
|
629
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
630
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
631
|
+
#endif
|
|
632
|
+
#if !defined(SWIFT_CONTEXT)
|
|
633
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
634
|
+
#endif
|
|
635
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
636
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
637
|
+
#endif
|
|
638
|
+
#if defined(__cplusplus)
|
|
639
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
640
|
+
#else
|
|
641
|
+
# define SWIFT_NOEXCEPT
|
|
642
|
+
#endif
|
|
643
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
644
|
+
# if __has_attribute(always_inline)
|
|
645
|
+
# if __has_attribute(nodebug)
|
|
646
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
647
|
+
# else
|
|
648
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
649
|
+
# endif
|
|
650
|
+
# else
|
|
651
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
652
|
+
# endif
|
|
653
|
+
#endif
|
|
654
|
+
#if defined(_WIN32)
|
|
655
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
656
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
657
|
+
#endif
|
|
658
|
+
#else
|
|
659
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
660
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
661
|
+
#endif
|
|
662
|
+
#endif
|
|
663
|
+
#if defined(__OBJC__)
|
|
664
|
+
#if __has_feature(objc_modules)
|
|
665
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
666
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
667
|
+
#endif
|
|
668
|
+
@import CoreLocation;
|
|
669
|
+
@import Foundation;
|
|
670
|
+
@import ObjectiveC;
|
|
671
|
+
#endif
|
|
672
|
+
|
|
673
|
+
#endif
|
|
674
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
675
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
676
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
677
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
678
|
+
#endif
|
|
679
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
680
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
681
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
682
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
683
|
+
|
|
684
|
+
#if __has_attribute(external_source_symbol)
|
|
685
|
+
# pragma push_macro("any")
|
|
686
|
+
# undef any
|
|
687
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GroupLink",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
688
|
+
# pragma pop_macro("any")
|
|
689
|
+
#endif
|
|
690
|
+
|
|
691
|
+
#if defined(__OBJC__)
|
|
692
|
+
|
|
693
|
+
enum EventType : NSInteger;
|
|
694
|
+
SWIFT_PROTOCOL("_TtP9GroupLink21EventNotifierDelegate_")
|
|
695
|
+
@protocol EventNotifierDelegate
|
|
696
|
+
- (void)eventNotifier:(enum EventType)eventType :(NSInteger)deviceID :(NSInteger)duration;
|
|
697
|
+
@end
|
|
698
|
+
|
|
699
|
+
@class UNNotificationRequest;
|
|
700
|
+
@class UNNotificationContent;
|
|
701
|
+
@class UNMutableNotificationContent;
|
|
702
|
+
@class UNUserNotificationCenter;
|
|
703
|
+
@class UNNotificationResponse;
|
|
704
|
+
@class NSString;
|
|
705
|
+
SWIFT_CLASS("_TtC9GroupLink22GroupLinkNotifications")
|
|
706
|
+
@interface GroupLinkNotifications : NSObject
|
|
707
|
+
+ (BOOL)isGroupLinkNotificationWithRequest:(UNNotificationRequest * _Nonnull)request contentHandler:(SWIFT_NOESCAPE void (^ _Nonnull)(UNNotificationContent * _Nonnull))contentHandler bestAttemptContent:(UNMutableNotificationContent * _Nullable)bestAttemptContent SWIFT_WARN_UNUSED_RESULT;
|
|
708
|
+
+ (void)GLNotificationDidReceive:(UNUserNotificationCenter * _Nonnull)center didReceive:(UNNotificationResponse * _Nonnull)response;
|
|
709
|
+
+ (void)GLNotificationDidReceive:(UNUserNotificationCenter * _Nonnull)center didReceive:(UNNotificationResponse * _Nonnull)response withCompletionHandler:(void (^ _Nonnull)(void))completionHandler;
|
|
710
|
+
+ (void)setRemoteNotificationToken:(NSString * _Nonnull)token;
|
|
711
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
712
|
+
@end
|
|
713
|
+
|
|
714
|
+
SWIFT_CLASS("_TtC9GroupLink12GroupLinkSDK")
|
|
715
|
+
@interface GroupLinkSDK : NSObject
|
|
716
|
+
+ (void)sendNotificationToken:(NSString * _Nonnull)token SWIFT_DEPRECATED_MSG("Use GroupLinkNotifications.setRemoteNotificationToken(_ token: String)");
|
|
717
|
+
+ (void)startWithToken:(NSString * _Nonnull)token;
|
|
718
|
+
+ (void)startBluetooth;
|
|
719
|
+
+ (void)checkBluetooth;
|
|
720
|
+
+ (void)startLocation;
|
|
721
|
+
+ (NSString * _Nullable)getUserID SWIFT_WARN_UNUSED_RESULT;
|
|
722
|
+
+ (NSString * _Nullable)getCurrentVersion SWIFT_WARN_UNUSED_RESULT;
|
|
723
|
+
+ (void)setNotificationName:(NSString * _Nonnull)name;
|
|
724
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
725
|
+
@end
|
|
726
|
+
|
|
727
|
+
@interface GroupLinkSDK (SWIFT_EXTENSION(GroupLink))
|
|
728
|
+
/// Set the Event Notification Delegate to receive calls from the Event module.
|
|
729
|
+
/// The class/struct delagate needs to conform with the delegate and implement the necessaries functions to work properly.
|
|
730
|
+
+ (void)setEventNotifierDelegate:(id <EventNotifierDelegate> _Nonnull)delegate;
|
|
731
|
+
/// This function sets a timer to trigger whenVisiting event using the EventNotifierDelegate.
|
|
732
|
+
/// The timer here is calculated in ms, so if you want your whenVisiting event within 5 minutes, you have to declare the value of 300000.
|
|
733
|
+
/// note:
|
|
734
|
+
/// The default and minimum time you can to set is 180000 (3 minutes).
|
|
735
|
+
/// \param timer Time to send an whenVisisting event to the delegate.
|
|
736
|
+
///
|
|
737
|
+
+ (void)whenVisitingTimer:(NSInteger)timer;
|
|
738
|
+
@end
|
|
739
|
+
|
|
740
|
+
/// The Event Type enum generated by the Event delegate.
|
|
741
|
+
typedef SWIFT_ENUM(NSInteger, EventType, open) {
|
|
742
|
+
/// The Event Type generated by the Event Delegate when the user enters in range with a Group Link Device
|
|
743
|
+
EventTypeWhenEnter = 0,
|
|
744
|
+
/// The Event Type generated by the Event Delegate when the user stays for a determined time in range with a Group Link Device
|
|
745
|
+
EventTypeWhenVisiting = 1,
|
|
746
|
+
/// The Event Type generated by the Event Delegate when the user exits in range with a Group Link Device
|
|
747
|
+
EventTypeWhenExit = 2,
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
@class CLLocationManager;
|
|
751
|
+
@class CLLocation;
|
|
752
|
+
SWIFT_CLASS("_TtC9GroupLink17HSLocationManager")
|
|
753
|
+
@interface HSLocationManager : NSObject <CLLocationManagerDelegate>
|
|
754
|
+
- (void)locationManager:(CLLocationManager * _Nonnull)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status;
|
|
755
|
+
- (void)locationManager:(CLLocationManager * _Nonnull)manager didFailWithError:(NSError * _Nonnull)error;
|
|
756
|
+
- (void)locationManager:(CLLocationManager * _Nonnull)manager didUpdateLocations:(NSArray<CLLocation *> * _Nonnull)locations;
|
|
757
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
758
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
759
|
+
@end
|
|
760
|
+
|
|
761
|
+
#endif
|
|
762
|
+
#if __has_attribute(external_source_symbol)
|
|
763
|
+
# pragma clang attribute pop
|
|
764
|
+
#endif
|
|
765
|
+
#if defined(__cplusplus)
|
|
766
|
+
#endif
|
|
767
|
+
#pragma clang diagnostic pop
|
|
768
|
+
#endif
|
|
769
|
+
|
|
770
|
+
#else
|
|
771
|
+
#error unsupported Swift architecture
|
|
772
|
+
#endif
|