tsrntemp 1.2.1 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/package.json +14 -5
- package/template/src/config/apiConfig.ts +5 -0
- package/template/src/config/index.ts +1 -0
- package/template/src/requestUtils/ApiService.ts +68 -0
- package/template/src/requestUtils/index.ts +1 -0
- package/template/src/requestUtils/request.ts +80 -0
- package/template/src/route/BottomTab.tsx +1 -0
- package/template/src/utils/index.ts +1 -1
- package/template/src/utils/storage.ts +3 -1
- package/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +0 -2008
- package/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +0 -2448
- package/template/ios/build/generated/ios/FBReactNativeSpecJSI-generated.cpp +0 -1523
- package/template/ios/build/generated/ios/FBReactNativeSpecJSI.h +0 -5509
- package/template/ios/build/generated/ios/React-Codegen.podspec.json +0 -1
- package/template/src/utils/request.ts +0 -28
@@ -1,1523 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
3
|
-
*
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
5
|
-
* once the code is regenerated.
|
6
|
-
*
|
7
|
-
* @generated by codegen project: GenerateModuleH.js
|
8
|
-
*/
|
9
|
-
|
10
|
-
#include "FBReactNativeSpecJSI.h"
|
11
|
-
|
12
|
-
namespace facebook {
|
13
|
-
namespace react {
|
14
|
-
|
15
|
-
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setConsolePatchSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
16
|
-
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setConsolePatchSettings(rt, args[0].asString(rt));
|
17
|
-
return jsi::Value::undefined();
|
18
|
-
}
|
19
|
-
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getConsolePatchSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
20
|
-
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getConsolePatchSettings(rt);
|
21
|
-
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
22
|
-
}
|
23
|
-
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setProfilingSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
24
|
-
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setProfilingSettings(rt, args[0].asString(rt));
|
25
|
-
return jsi::Value::undefined();
|
26
|
-
}
|
27
|
-
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getProfilingSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
28
|
-
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getProfilingSettings(rt);
|
29
|
-
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
30
|
-
}
|
31
|
-
|
32
|
-
NativeDevToolsSettingsManagerCxxSpecJSI::NativeDevToolsSettingsManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
33
|
-
: TurboModule("DevToolsSettingsManager", jsInvoker) {
|
34
|
-
methodMap_["setConsolePatchSettings"] = MethodMetadata {1, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setConsolePatchSettings};
|
35
|
-
methodMap_["getConsolePatchSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getConsolePatchSettings};
|
36
|
-
methodMap_["setProfilingSettings"] = MethodMetadata {1, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setProfilingSettings};
|
37
|
-
methodMap_["getProfilingSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getProfilingSettings};
|
38
|
-
}
|
39
|
-
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
40
|
-
return static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
41
|
-
}
|
42
|
-
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
43
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrate(rt, args[0].asNumber());
|
44
|
-
return jsi::Value::undefined();
|
45
|
-
}
|
46
|
-
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
47
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(rt, args[0].asObject(rt).asArray(rt), args[1].asNumber());
|
48
|
-
return jsi::Value::undefined();
|
49
|
-
}
|
50
|
-
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_cancel(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
51
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->cancel(rt);
|
52
|
-
return jsi::Value::undefined();
|
53
|
-
}
|
54
|
-
|
55
|
-
NativeVibrationCxxSpecJSI::NativeVibrationCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
56
|
-
: TurboModule("Vibration", jsInvoker) {
|
57
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeVibrationCxxSpecJSI_getConstants};
|
58
|
-
methodMap_["vibrate"] = MethodMetadata {1, __hostFunction_NativeVibrationCxxSpecJSI_vibrate};
|
59
|
-
methodMap_["vibrateByPattern"] = MethodMetadata {2, __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern};
|
60
|
-
methodMap_["cancel"] = MethodMetadata {0, __hostFunction_NativeVibrationCxxSpecJSI_cancel};
|
61
|
-
}
|
62
|
-
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
63
|
-
return static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
64
|
-
}
|
65
|
-
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
66
|
-
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(rt, args[0].asObject(rt));
|
67
|
-
return jsi::Value::undefined();
|
68
|
-
}
|
69
|
-
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
70
|
-
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(rt, args[0].asObject(rt).asArray(rt));
|
71
|
-
return jsi::Value::undefined();
|
72
|
-
}
|
73
|
-
|
74
|
-
NativeSettingsManagerCxxSpecJSI::NativeSettingsManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
75
|
-
: TurboModule("SettingsManager", jsInvoker) {
|
76
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants};
|
77
|
-
methodMap_["setValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues};
|
78
|
-
methodMap_["deleteValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues};
|
79
|
-
}
|
80
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
81
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->connect(rt, args[0].asString(rt), args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt)), args[2].asObject(rt), args[3].asNumber());
|
82
|
-
return jsi::Value::undefined();
|
83
|
-
}
|
84
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_send(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
85
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(rt, args[0].asString(rt), args[1].asNumber());
|
86
|
-
return jsi::Value::undefined();
|
87
|
-
}
|
88
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
89
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(rt, args[0].asString(rt), args[1].asNumber());
|
90
|
-
return jsi::Value::undefined();
|
91
|
-
}
|
92
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
93
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(rt, args[0].asNumber());
|
94
|
-
return jsi::Value::undefined();
|
95
|
-
}
|
96
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_close(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
97
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->close(rt, args[0].asNumber(), args[1].asString(rt), args[2].asNumber());
|
98
|
-
return jsi::Value::undefined();
|
99
|
-
}
|
100
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
101
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
102
|
-
return jsi::Value::undefined();
|
103
|
-
}
|
104
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
105
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
106
|
-
return jsi::Value::undefined();
|
107
|
-
}
|
108
|
-
|
109
|
-
NativeWebSocketModuleCxxSpecJSI::NativeWebSocketModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
110
|
-
: TurboModule("WebSocketModule", jsInvoker) {
|
111
|
-
methodMap_["connect"] = MethodMetadata {4, __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect};
|
112
|
-
methodMap_["send"] = MethodMetadata {2, __hostFunction_NativeWebSocketModuleCxxSpecJSI_send};
|
113
|
-
methodMap_["sendBinary"] = MethodMetadata {2, __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary};
|
114
|
-
methodMap_["ping"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping};
|
115
|
-
methodMap_["close"] = MethodMetadata {3, __hostFunction_NativeWebSocketModuleCxxSpecJSI_close};
|
116
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener};
|
117
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners};
|
118
|
-
}
|
119
|
-
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportFatalException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
120
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportFatalException(rt, args[0].asString(rt), args[1].asObject(rt).asArray(rt), args[2].asNumber());
|
121
|
-
return jsi::Value::undefined();
|
122
|
-
}
|
123
|
-
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportSoftException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
124
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportSoftException(rt, args[0].asString(rt), args[1].asObject(rt).asArray(rt), args[2].asNumber());
|
125
|
-
return jsi::Value::undefined();
|
126
|
-
}
|
127
|
-
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
128
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportException(rt, args[0].asObject(rt));
|
129
|
-
return jsi::Value::undefined();
|
130
|
-
}
|
131
|
-
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_updateExceptionMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
132
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->updateExceptionMessage(rt, args[0].asString(rt), args[1].asObject(rt).asArray(rt), args[2].asNumber());
|
133
|
-
return jsi::Value::undefined();
|
134
|
-
}
|
135
|
-
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_dismissRedbox(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
136
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->dismissRedbox(rt);
|
137
|
-
return jsi::Value::undefined();
|
138
|
-
}
|
139
|
-
|
140
|
-
NativeExceptionsManagerCxxSpecJSI::NativeExceptionsManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
141
|
-
: TurboModule("ExceptionsManager", jsInvoker) {
|
142
|
-
methodMap_["reportFatalException"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportFatalException};
|
143
|
-
methodMap_["reportSoftException"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportSoftException};
|
144
|
-
methodMap_["reportException"] = MethodMetadata {1, __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException};
|
145
|
-
methodMap_["updateExceptionMessage"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerCxxSpecJSI_updateExceptionMessage};
|
146
|
-
methodMap_["dismissRedbox"] = MethodMetadata {0, __hostFunction_NativeExceptionsManagerCxxSpecJSI_dismissRedbox};
|
147
|
-
}
|
148
|
-
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_createTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
149
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(rt, args[0].asNumber(), args[1].asNumber(), args[2].asNumber(), args[3].asBool());
|
150
|
-
return jsi::Value::undefined();
|
151
|
-
}
|
152
|
-
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_deleteTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
153
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->deleteTimer(rt, args[0].asNumber());
|
154
|
-
return jsi::Value::undefined();
|
155
|
-
}
|
156
|
-
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
157
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->setSendIdleEvents(rt, args[0].asBool());
|
158
|
-
return jsi::Value::undefined();
|
159
|
-
}
|
160
|
-
|
161
|
-
NativeTimingCxxSpecJSI::NativeTimingCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
162
|
-
: TurboModule("Timing", jsInvoker) {
|
163
|
-
methodMap_["createTimer"] = MethodMetadata {4, __hostFunction_NativeTimingCxxSpecJSI_createTimer};
|
164
|
-
methodMap_["deleteTimer"] = MethodMetadata {1, __hostFunction_NativeTimingCxxSpecJSI_deleteTimer};
|
165
|
-
methodMap_["setSendIdleEvents"] = MethodMetadata {1, __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents};
|
166
|
-
}
|
167
|
-
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
168
|
-
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->fetchSegment(rt, args[0].asNumber(), args[1].asObject(rt), args[2].asObject(rt).asFunction(rt));
|
169
|
-
return jsi::Value::undefined();
|
170
|
-
}
|
171
|
-
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
172
|
-
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->getSegment(rt, args[0].asNumber(), args[1].asObject(rt), args[2].asObject(rt).asFunction(rt));
|
173
|
-
return jsi::Value::undefined();
|
174
|
-
}
|
175
|
-
|
176
|
-
NativeSegmentFetcherCxxSpecJSI::NativeSegmentFetcherCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
177
|
-
: TurboModule("SegmentFetcher", jsInvoker) {
|
178
|
-
methodMap_["fetchSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment};
|
179
|
-
methodMap_["getSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment};
|
180
|
-
}
|
181
|
-
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
182
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->checkPermission(rt, args[0].asString(rt));
|
183
|
-
}
|
184
|
-
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
185
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestPermission(rt, args[0].asString(rt));
|
186
|
-
}
|
187
|
-
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
188
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->shouldShowRequestPermissionRationale(rt, args[0].asString(rt));
|
189
|
-
}
|
190
|
-
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
191
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestMultiplePermissions(rt, args[0].asObject(rt).asArray(rt));
|
192
|
-
}
|
193
|
-
|
194
|
-
NativePermissionsAndroidCxxSpecJSI::NativePermissionsAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
195
|
-
: TurboModule("PermissionsAndroid", jsInvoker) {
|
196
|
-
methodMap_["checkPermission"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission};
|
197
|
-
methodMap_["requestPermission"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission};
|
198
|
-
methodMap_["shouldShowRequestPermissionRationale"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale};
|
199
|
-
methodMap_["requestMultiplePermissions"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions};
|
200
|
-
}
|
201
|
-
static jsi::Value __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
202
|
-
static_cast<NativeAlertManagerCxxSpecJSI *>(&turboModule)->alertWithArgs(rt, args[0].asObject(rt), args[1].asObject(rt).asFunction(rt));
|
203
|
-
return jsi::Value::undefined();
|
204
|
-
}
|
205
|
-
|
206
|
-
NativeAlertManagerCxxSpecJSI::NativeAlertManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
207
|
-
: TurboModule("AlertManager", jsInvoker) {
|
208
|
-
methodMap_["alertWithArgs"] = MethodMetadata {2, __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs};
|
209
|
-
}
|
210
|
-
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
211
|
-
return static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
212
|
-
}
|
213
|
-
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
214
|
-
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showActionSheetWithOptions(rt, args[0].asObject(rt), args[1].asObject(rt).asFunction(rt));
|
215
|
-
return jsi::Value::undefined();
|
216
|
-
}
|
217
|
-
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showShareActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
218
|
-
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showShareActionSheetWithOptions(rt, args[0].asObject(rt), args[1].asObject(rt).asFunction(rt), args[2].asObject(rt).asFunction(rt));
|
219
|
-
return jsi::Value::undefined();
|
220
|
-
}
|
221
|
-
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_dismissActionSheet(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
222
|
-
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->dismissActionSheet(rt);
|
223
|
-
return jsi::Value::undefined();
|
224
|
-
}
|
225
|
-
|
226
|
-
NativeActionSheetManagerCxxSpecJSI::NativeActionSheetManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
227
|
-
: TurboModule("ActionSheetManager", jsInvoker) {
|
228
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeActionSheetManagerCxxSpecJSI_getConstants};
|
229
|
-
methodMap_["showActionSheetWithOptions"] = MethodMetadata {2, __hostFunction_NativeActionSheetManagerCxxSpecJSI_showActionSheetWithOptions};
|
230
|
-
methodMap_["showShareActionSheetWithOptions"] = MethodMetadata {3, __hostFunction_NativeActionSheetManagerCxxSpecJSI_showShareActionSheetWithOptions};
|
231
|
-
methodMap_["dismissActionSheet"] = MethodMetadata {0, __hostFunction_NativeActionSheetManagerCxxSpecJSI_dismissActionSheet};
|
232
|
-
}
|
233
|
-
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
234
|
-
return static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
235
|
-
}
|
236
|
-
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
237
|
-
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(rt, args[0].asObject(rt), args[1].asObject(rt).asFunction(rt), args[2].asObject(rt).asFunction(rt));
|
238
|
-
return jsi::Value::undefined();
|
239
|
-
}
|
240
|
-
|
241
|
-
NativeDialogManagerAndroidCxxSpecJSI::NativeDialogManagerAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
242
|
-
: TurboModule("DialogManagerAndroid", jsInvoker) {
|
243
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstants};
|
244
|
-
methodMap_["showAlert"] = MethodMetadata {3, __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert};
|
245
|
-
}
|
246
|
-
static jsi::Value __hostFunction_NativeSourceCodeCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
247
|
-
return static_cast<NativeSourceCodeCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
248
|
-
}
|
249
|
-
|
250
|
-
NativeSourceCodeCxxSpecJSI::NativeSourceCodeCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
251
|
-
: TurboModule("SourceCode", jsInvoker) {
|
252
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSourceCodeCxxSpecJSI_getConstants};
|
253
|
-
}
|
254
|
-
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
255
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->show(rt);
|
256
|
-
return jsi::Value::undefined();
|
257
|
-
}
|
258
|
-
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
259
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->reload(rt);
|
260
|
-
return jsi::Value::undefined();
|
261
|
-
}
|
262
|
-
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_debugRemotely(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
263
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->debugRemotely(rt, args[0].asBool());
|
264
|
-
return jsi::Value::undefined();
|
265
|
-
}
|
266
|
-
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
267
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setProfilingEnabled(rt, args[0].asBool());
|
268
|
-
return jsi::Value::undefined();
|
269
|
-
}
|
270
|
-
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
271
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(rt, args[0].asBool());
|
272
|
-
return jsi::Value::undefined();
|
273
|
-
}
|
274
|
-
|
275
|
-
NativeDevMenuCxxSpecJSI::NativeDevMenuCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
276
|
-
: TurboModule("DevMenu", jsInvoker) {
|
277
|
-
methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeDevMenuCxxSpecJSI_show};
|
278
|
-
methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevMenuCxxSpecJSI_reload};
|
279
|
-
methodMap_["debugRemotely"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_debugRemotely};
|
280
|
-
methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled};
|
281
|
-
methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled};
|
282
|
-
}
|
283
|
-
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
284
|
-
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(rt, args[0].asObject(rt), args[1].asString(rt));
|
285
|
-
return jsi::Value::undefined();
|
286
|
-
}
|
287
|
-
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_dismiss(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
288
|
-
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->dismiss(rt);
|
289
|
-
return jsi::Value::undefined();
|
290
|
-
}
|
291
|
-
|
292
|
-
NativeRedBoxCxxSpecJSI::NativeRedBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
293
|
-
: TurboModule("RedBox", jsInvoker) {
|
294
|
-
methodMap_["setExtraData"] = MethodMetadata {2, __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData};
|
295
|
-
methodMap_["dismiss"] = MethodMetadata {0, __hostFunction_NativeRedBoxCxxSpecJSI_dismiss};
|
296
|
-
}
|
297
|
-
static jsi::Value __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_startRecordingFps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
298
|
-
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->startRecordingFps(rt);
|
299
|
-
return jsi::Value::undefined();
|
300
|
-
}
|
301
|
-
static jsi::Value __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_stopRecordingFps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
302
|
-
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->stopRecordingFps(rt, args[0].asNumber());
|
303
|
-
return jsi::Value::undefined();
|
304
|
-
}
|
305
|
-
|
306
|
-
NativeAnimationsDebugModuleCxxSpecJSI::NativeAnimationsDebugModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
307
|
-
: TurboModule("AnimationsDebugModule", jsInvoker) {
|
308
|
-
methodMap_["startRecordingFps"] = MethodMetadata {0, __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_startRecordingFps};
|
309
|
-
methodMap_["stopRecordingFps"] = MethodMetadata {1, __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_stopRecordingFps};
|
310
|
-
}
|
311
|
-
static jsi::Value __hostFunction_NativeLogBoxCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
312
|
-
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->show(rt);
|
313
|
-
return jsi::Value::undefined();
|
314
|
-
}
|
315
|
-
static jsi::Value __hostFunction_NativeLogBoxCxxSpecJSI_hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
316
|
-
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->hide(rt);
|
317
|
-
return jsi::Value::undefined();
|
318
|
-
}
|
319
|
-
|
320
|
-
NativeLogBoxCxxSpecJSI::NativeLogBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
321
|
-
: TurboModule("LogBox", jsInvoker) {
|
322
|
-
methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeLogBoxCxxSpecJSI_show};
|
323
|
-
methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeLogBoxCxxSpecJSI_hide};
|
324
|
-
}
|
325
|
-
static jsi::Value __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
326
|
-
static_cast<NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler(rt);
|
327
|
-
return jsi::Value::undefined();
|
328
|
-
}
|
329
|
-
|
330
|
-
NativeDeviceEventManagerCxxSpecJSI::NativeDeviceEventManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
331
|
-
: TurboModule("DeviceEventManager", jsInvoker) {
|
332
|
-
methodMap_["invokeDefaultBackPressHandler"] = MethodMetadata {0, __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler};
|
333
|
-
}
|
334
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
335
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reload(rt);
|
336
|
-
return jsi::Value::undefined();
|
337
|
-
}
|
338
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
339
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reloadWithReason(rt, args[0].asString(rt));
|
340
|
-
return jsi::Value::undefined();
|
341
|
-
}
|
342
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
343
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->onFastRefresh(rt);
|
344
|
-
return jsi::Value::undefined();
|
345
|
-
}
|
346
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
347
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(rt, args[0].asBool());
|
348
|
-
return jsi::Value::undefined();
|
349
|
-
}
|
350
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsDebuggingRemotely(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
351
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsDebuggingRemotely(rt, args[0].asBool());
|
352
|
-
return jsi::Value::undefined();
|
353
|
-
}
|
354
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
355
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setProfilingEnabled(rt, args[0].asBool());
|
356
|
-
return jsi::Value::undefined();
|
357
|
-
}
|
358
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspector(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
359
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->toggleElementInspector(rt);
|
360
|
-
return jsi::Value::undefined();
|
361
|
-
}
|
362
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
363
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addMenuItem(rt, args[0].asString(rt));
|
364
|
-
return jsi::Value::undefined();
|
365
|
-
}
|
366
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
367
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
368
|
-
return jsi::Value::undefined();
|
369
|
-
}
|
370
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
371
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
372
|
-
return jsi::Value::undefined();
|
373
|
-
}
|
374
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
375
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsShakeToShowDevMenuEnabled(rt, args[0].asBool());
|
376
|
-
return jsi::Value::undefined();
|
377
|
-
}
|
378
|
-
|
379
|
-
NativeDevSettingsCxxSpecJSI::NativeDevSettingsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
380
|
-
: TurboModule("DevSettings", jsInvoker) {
|
381
|
-
methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevSettingsCxxSpecJSI_reload};
|
382
|
-
methodMap_["reloadWithReason"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason};
|
383
|
-
methodMap_["onFastRefresh"] = MethodMetadata {0, __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh};
|
384
|
-
methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled};
|
385
|
-
methodMap_["setIsDebuggingRemotely"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setIsDebuggingRemotely};
|
386
|
-
methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled};
|
387
|
-
methodMap_["toggleElementInspector"] = MethodMetadata {0, __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspector};
|
388
|
-
methodMap_["addMenuItem"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem};
|
389
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_addListener};
|
390
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners};
|
391
|
-
methodMap_["setIsShakeToShowDevMenuEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled};
|
392
|
-
}
|
393
|
-
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
394
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(rt, args[0].asString(rt), args[1].asString(rt), args[2].asNumber(), args[3].asObject(rt).asArray(rt), args[4].asObject(rt), args[5].asString(rt), args[6].asBool(), args[7].asNumber(), args[8].asBool());
|
395
|
-
return jsi::Value::undefined();
|
396
|
-
}
|
397
|
-
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
398
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->abortRequest(rt, args[0].asNumber());
|
399
|
-
return jsi::Value::undefined();
|
400
|
-
}
|
401
|
-
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
402
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->clearCookies(rt, args[0].asObject(rt).asFunction(rt));
|
403
|
-
return jsi::Value::undefined();
|
404
|
-
}
|
405
|
-
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
406
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
407
|
-
return jsi::Value::undefined();
|
408
|
-
}
|
409
|
-
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
410
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
411
|
-
return jsi::Value::undefined();
|
412
|
-
}
|
413
|
-
|
414
|
-
NativeNetworkingAndroidCxxSpecJSI::NativeNetworkingAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
415
|
-
: TurboModule("Networking", jsInvoker) {
|
416
|
-
methodMap_["sendRequest"] = MethodMetadata {9, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest};
|
417
|
-
methodMap_["abortRequest"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_abortRequest};
|
418
|
-
methodMap_["clearCookies"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_clearCookies};
|
419
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_addListener};
|
420
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners};
|
421
|
-
}
|
422
|
-
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
423
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->sendRequest(rt, args[0].asObject(rt), args[1].asObject(rt).asFunction(rt));
|
424
|
-
return jsi::Value::undefined();
|
425
|
-
}
|
426
|
-
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
427
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->abortRequest(rt, args[0].asNumber());
|
428
|
-
return jsi::Value::undefined();
|
429
|
-
}
|
430
|
-
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
431
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->clearCookies(rt, args[0].asObject(rt).asFunction(rt));
|
432
|
-
return jsi::Value::undefined();
|
433
|
-
}
|
434
|
-
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
435
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
436
|
-
return jsi::Value::undefined();
|
437
|
-
}
|
438
|
-
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
439
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
440
|
-
return jsi::Value::undefined();
|
441
|
-
}
|
442
|
-
|
443
|
-
NativeNetworkingIOSCxxSpecJSI::NativeNetworkingIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
444
|
-
: TurboModule("Networking", jsInvoker) {
|
445
|
-
methodMap_["sendRequest"] = MethodMetadata {2, __hostFunction_NativeNetworkingIOSCxxSpecJSI_sendRequest};
|
446
|
-
methodMap_["abortRequest"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest};
|
447
|
-
methodMap_["clearCookies"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies};
|
448
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener};
|
449
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners};
|
450
|
-
}
|
451
|
-
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
452
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
453
|
-
}
|
454
|
-
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
455
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSize(rt, args[0].asString(rt));
|
456
|
-
}
|
457
|
-
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
458
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(rt, args[0].asString(rt), args[1].asObject(rt));
|
459
|
-
}
|
460
|
-
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
461
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImage(rt, args[0].asString(rt));
|
462
|
-
}
|
463
|
-
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
464
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImageWithMetadata(rt, args[0].asString(rt), args[1].asString(rt), args[2].getNumber());
|
465
|
-
}
|
466
|
-
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
467
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->queryCache(rt, args[0].asObject(rt).asArray(rt));
|
468
|
-
}
|
469
|
-
|
470
|
-
NativeImageLoaderIOSCxxSpecJSI::NativeImageLoaderIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
471
|
-
: TurboModule("ImageLoader", jsInvoker) {
|
472
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants};
|
473
|
-
methodMap_["getSize"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSize};
|
474
|
-
methodMap_["getSizeWithHeaders"] = MethodMetadata {2, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSizeWithHeaders};
|
475
|
-
methodMap_["prefetchImage"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImage};
|
476
|
-
methodMap_["prefetchImageWithMetadata"] = MethodMetadata {3, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata};
|
477
|
-
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache};
|
478
|
-
}
|
479
|
-
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
480
|
-
return static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
481
|
-
}
|
482
|
-
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_cropImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
483
|
-
static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->cropImage(rt, args[0].asString(rt), args[1].asObject(rt), args[2].asObject(rt).asFunction(rt), args[3].asObject(rt).asFunction(rt));
|
484
|
-
return jsi::Value::undefined();
|
485
|
-
}
|
486
|
-
|
487
|
-
NativeImageEditorCxxSpecJSI::NativeImageEditorCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
488
|
-
: TurboModule("ImageEditingManager", jsInvoker) {
|
489
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageEditorCxxSpecJSI_getConstants};
|
490
|
-
methodMap_["cropImage"] = MethodMetadata {4, __hostFunction_NativeImageEditorCxxSpecJSI_cropImage};
|
491
|
-
}
|
492
|
-
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
493
|
-
return static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
494
|
-
}
|
495
|
-
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
496
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getBase64ForTag(rt, args[0].asString(rt), args[1].asObject(rt).asFunction(rt), args[2].asObject(rt).asFunction(rt));
|
497
|
-
return jsi::Value::undefined();
|
498
|
-
}
|
499
|
-
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_hasImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
500
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->hasImageForTag(rt, args[0].asString(rt), args[1].asObject(rt).asFunction(rt));
|
501
|
-
return jsi::Value::undefined();
|
502
|
-
}
|
503
|
-
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_removeImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
504
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->removeImageForTag(rt, args[0].asString(rt));
|
505
|
-
return jsi::Value::undefined();
|
506
|
-
}
|
507
|
-
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
508
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->addImageFromBase64(rt, args[0].asString(rt), args[1].asObject(rt).asFunction(rt), args[2].asObject(rt).asFunction(rt));
|
509
|
-
return jsi::Value::undefined();
|
510
|
-
}
|
511
|
-
|
512
|
-
NativeImageStoreIOSCxxSpecJSI::NativeImageStoreIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
513
|
-
: TurboModule("ImageStoreManager", jsInvoker) {
|
514
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageStoreIOSCxxSpecJSI_getConstants};
|
515
|
-
methodMap_["getBase64ForTag"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSCxxSpecJSI_getBase64ForTag};
|
516
|
-
methodMap_["hasImageForTag"] = MethodMetadata {2, __hostFunction_NativeImageStoreIOSCxxSpecJSI_hasImageForTag};
|
517
|
-
methodMap_["removeImageForTag"] = MethodMetadata {1, __hostFunction_NativeImageStoreIOSCxxSpecJSI_removeImageForTag};
|
518
|
-
methodMap_["addImageFromBase64"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64};
|
519
|
-
}
|
520
|
-
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
521
|
-
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(rt, args[0].asNumber());
|
522
|
-
return jsi::Value::undefined();
|
523
|
-
}
|
524
|
-
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
525
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
526
|
-
}
|
527
|
-
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
528
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSize(rt, args[0].asString(rt));
|
529
|
-
}
|
530
|
-
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
531
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(rt, args[0].asString(rt), args[1].asObject(rt));
|
532
|
-
}
|
533
|
-
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
534
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->prefetchImage(rt, args[0].asString(rt), args[1].asNumber());
|
535
|
-
}
|
536
|
-
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
537
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->queryCache(rt, args[0].asObject(rt).asArray(rt));
|
538
|
-
}
|
539
|
-
|
540
|
-
NativeImageLoaderAndroidCxxSpecJSI::NativeImageLoaderAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
541
|
-
: TurboModule("ImageLoader", jsInvoker) {
|
542
|
-
methodMap_["abortRequest"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest};
|
543
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants};
|
544
|
-
methodMap_["getSize"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize};
|
545
|
-
methodMap_["getSizeWithHeaders"] = MethodMetadata {2, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders};
|
546
|
-
methodMap_["prefetchImage"] = MethodMetadata {2, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage};
|
547
|
-
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache};
|
548
|
-
}
|
549
|
-
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
550
|
-
return static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
551
|
-
}
|
552
|
-
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
553
|
-
static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getBase64ForTag(rt, args[0].asString(rt), args[1].asObject(rt).asFunction(rt), args[2].asObject(rt).asFunction(rt));
|
554
|
-
return jsi::Value::undefined();
|
555
|
-
}
|
556
|
-
|
557
|
-
NativeImageStoreAndroidCxxSpecJSI::NativeImageStoreAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
558
|
-
: TurboModule("ImageStoreManager", jsInvoker) {
|
559
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getConstants};
|
560
|
-
methodMap_["getBase64ForTag"] = MethodMetadata {3, __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag};
|
561
|
-
}
|
562
|
-
static jsi::Value __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
563
|
-
return static_cast<NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
564
|
-
}
|
565
|
-
|
566
|
-
NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
567
|
-
: TurboModule("DeviceInfo", jsInvoker) {
|
568
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants};
|
569
|
-
}
|
570
|
-
static jsi::Value __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
571
|
-
return static_cast<NativePlatformConstantsIOSCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
572
|
-
}
|
573
|
-
|
574
|
-
NativePlatformConstantsIOSCxxSpecJSI::NativePlatformConstantsIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
575
|
-
: TurboModule("PlatformConstants", jsInvoker) {
|
576
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants};
|
577
|
-
}
|
578
|
-
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
579
|
-
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage(rt, args[0].asString(rt), args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()), args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber()));
|
580
|
-
return jsi::Value::undefined();
|
581
|
-
}
|
582
|
-
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
583
|
-
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->hide(rt);
|
584
|
-
return jsi::Value::undefined();
|
585
|
-
}
|
586
|
-
|
587
|
-
NativeDevLoadingViewCxxSpecJSI::NativeDevLoadingViewCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
588
|
-
: TurboModule("DevLoadingView", jsInvoker) {
|
589
|
-
methodMap_["showMessage"] = MethodMetadata {3, __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage};
|
590
|
-
methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeDevLoadingViewCxxSpecJSI_hide};
|
591
|
-
}
|
592
|
-
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
593
|
-
auto result = static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme(rt);
|
594
|
-
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
595
|
-
}
|
596
|
-
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
597
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(rt, args[0].asString(rt));
|
598
|
-
return jsi::Value::undefined();
|
599
|
-
}
|
600
|
-
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
601
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
602
|
-
return jsi::Value::undefined();
|
603
|
-
}
|
604
|
-
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
605
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
606
|
-
return jsi::Value::undefined();
|
607
|
-
}
|
608
|
-
|
609
|
-
NativeAppearanceCxxSpecJSI::NativeAppearanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
610
|
-
: TurboModule("Appearance", jsInvoker) {
|
611
|
-
methodMap_["getColorScheme"] = MethodMetadata {0, __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme};
|
612
|
-
methodMap_["setColorScheme"] = MethodMetadata {1, __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme};
|
613
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAppearanceCxxSpecJSI_addListener};
|
614
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners};
|
615
|
-
}
|
616
|
-
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
617
|
-
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
618
|
-
}
|
619
|
-
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
620
|
-
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getAndroidID(rt);
|
621
|
-
}
|
622
|
-
|
623
|
-
NativePlatformConstantsAndroidCxxSpecJSI::NativePlatformConstantsAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
624
|
-
: TurboModule("PlatformConstants", jsInvoker) {
|
625
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getConstants};
|
626
|
-
methodMap_["getAndroidID"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID};
|
627
|
-
}
|
628
|
-
static jsi::Value __hostFunction_NativeDevSplitBundleLoaderCxxSpecJSI_loadBundle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
629
|
-
return static_cast<NativeDevSplitBundleLoaderCxxSpecJSI *>(&turboModule)->loadBundle(rt, args[0].asString(rt));
|
630
|
-
}
|
631
|
-
|
632
|
-
NativeDevSplitBundleLoaderCxxSpecJSI::NativeDevSplitBundleLoaderCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
633
|
-
: TurboModule("DevSplitBundleLoader", jsInvoker) {
|
634
|
-
methodMap_["loadBundle"] = MethodMetadata {1, __hostFunction_NativeDevSplitBundleLoaderCxxSpecJSI_loadBundle};
|
635
|
-
}
|
636
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
637
|
-
return static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
638
|
-
}
|
639
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getHeight(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
640
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getHeight(rt, args[0].asObject(rt).asFunction(rt));
|
641
|
-
return jsi::Value::undefined();
|
642
|
-
}
|
643
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setNetworkActivityIndicatorVisible(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
644
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setNetworkActivityIndicatorVisible(rt, args[0].asBool());
|
645
|
-
return jsi::Value::undefined();
|
646
|
-
}
|
647
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
648
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
649
|
-
return jsi::Value::undefined();
|
650
|
-
}
|
651
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
652
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
653
|
-
return jsi::Value::undefined();
|
654
|
-
}
|
655
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setStyle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
656
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setStyle(rt, count < 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt)), args[1].asBool());
|
657
|
-
return jsi::Value::undefined();
|
658
|
-
}
|
659
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
660
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setHidden(rt, args[0].asBool(), args[1].asString(rt));
|
661
|
-
return jsi::Value::undefined();
|
662
|
-
}
|
663
|
-
|
664
|
-
NativeStatusBarManagerIOSCxxSpecJSI::NativeStatusBarManagerIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
665
|
-
: TurboModule("StatusBarManager", jsInvoker) {
|
666
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getConstants};
|
667
|
-
methodMap_["getHeight"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getHeight};
|
668
|
-
methodMap_["setNetworkActivityIndicatorVisible"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setNetworkActivityIndicatorVisible};
|
669
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_addListener};
|
670
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_removeListeners};
|
671
|
-
methodMap_["setStyle"] = MethodMetadata {2, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setStyle};
|
672
|
-
methodMap_["setHidden"] = MethodMetadata {2, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden};
|
673
|
-
}
|
674
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
675
|
-
return static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
676
|
-
}
|
677
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setColor(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
678
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setColor(rt, args[0].asNumber(), args[1].asBool());
|
679
|
-
return jsi::Value::undefined();
|
680
|
-
}
|
681
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setTranslucent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
682
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setTranslucent(rt, args[0].asBool());
|
683
|
-
return jsi::Value::undefined();
|
684
|
-
}
|
685
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setStyle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
686
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setStyle(rt, count < 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt)));
|
687
|
-
return jsi::Value::undefined();
|
688
|
-
}
|
689
|
-
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
690
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setHidden(rt, args[0].asBool());
|
691
|
-
return jsi::Value::undefined();
|
692
|
-
}
|
693
|
-
|
694
|
-
NativeStatusBarManagerAndroidCxxSpecJSI::NativeStatusBarManagerAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
695
|
-
: TurboModule("StatusBarManager", jsInvoker) {
|
696
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_getConstants};
|
697
|
-
methodMap_["setColor"] = MethodMetadata {2, __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setColor};
|
698
|
-
methodMap_["setTranslucent"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setTranslucent};
|
699
|
-
methodMap_["setStyle"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setStyle};
|
700
|
-
methodMap_["setHidden"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setHidden};
|
701
|
-
}
|
702
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentBoldTextState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
703
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentBoldTextState(rt, args[0].asObject(rt).asFunction(rt), args[1].asObject(rt).asFunction(rt));
|
704
|
-
return jsi::Value::undefined();
|
705
|
-
}
|
706
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentGrayscaleState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
707
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentGrayscaleState(rt, args[0].asObject(rt).asFunction(rt), args[1].asObject(rt).asFunction(rt));
|
708
|
-
return jsi::Value::undefined();
|
709
|
-
}
|
710
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
711
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentInvertColorsState(rt, args[0].asObject(rt).asFunction(rt), args[1].asObject(rt).asFunction(rt));
|
712
|
-
return jsi::Value::undefined();
|
713
|
-
}
|
714
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
715
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceMotionState(rt, args[0].asObject(rt).asFunction(rt), args[1].asObject(rt).asFunction(rt));
|
716
|
-
return jsi::Value::undefined();
|
717
|
-
}
|
718
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
719
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentPrefersCrossFadeTransitionsState(rt, args[0].asObject(rt).asFunction(rt), args[1].asObject(rt).asFunction(rt));
|
720
|
-
return jsi::Value::undefined();
|
721
|
-
}
|
722
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
723
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceTransparencyState(rt, args[0].asObject(rt).asFunction(rt), args[1].asObject(rt).asFunction(rt));
|
724
|
-
return jsi::Value::undefined();
|
725
|
-
}
|
726
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
727
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentVoiceOverState(rt, args[0].asObject(rt).asFunction(rt), args[1].asObject(rt).asFunction(rt));
|
728
|
-
return jsi::Value::undefined();
|
729
|
-
}
|
730
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
731
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityContentSizeMultipliers(rt, args[0].asObject(rt));
|
732
|
-
return jsi::Value::undefined();
|
733
|
-
}
|
734
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
735
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(rt, args[0].asNumber());
|
736
|
-
return jsi::Value::undefined();
|
737
|
-
}
|
738
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
739
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibility(rt, args[0].asString(rt));
|
740
|
-
return jsi::Value::undefined();
|
741
|
-
}
|
742
|
-
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
743
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibilityWithOptions(rt, args[0].asString(rt), args[1].asObject(rt));
|
744
|
-
return jsi::Value::undefined();
|
745
|
-
}
|
746
|
-
|
747
|
-
NativeAccessibilityManagerCxxSpecJSI::NativeAccessibilityManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
748
|
-
: TurboModule("AccessibilityManager", jsInvoker) {
|
749
|
-
methodMap_["getCurrentBoldTextState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentBoldTextState};
|
750
|
-
methodMap_["getCurrentGrayscaleState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentGrayscaleState};
|
751
|
-
methodMap_["getCurrentInvertColorsState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState};
|
752
|
-
methodMap_["getCurrentReduceMotionState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState};
|
753
|
-
methodMap_["getCurrentPrefersCrossFadeTransitionsState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState};
|
754
|
-
methodMap_["getCurrentReduceTransparencyState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState};
|
755
|
-
methodMap_["getCurrentVoiceOverState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState};
|
756
|
-
methodMap_["setAccessibilityContentSizeMultipliers"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers};
|
757
|
-
methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus};
|
758
|
-
methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility};
|
759
|
-
methodMap_["announceForAccessibilityWithOptions"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions};
|
760
|
-
}
|
761
|
-
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
762
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(rt, args[0].asObject(rt).asFunction(rt));
|
763
|
-
return jsi::Value::undefined();
|
764
|
-
}
|
765
|
-
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
766
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isTouchExplorationEnabled(rt, args[0].asObject(rt).asFunction(rt));
|
767
|
-
return jsi::Value::undefined();
|
768
|
-
}
|
769
|
-
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
770
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(rt, args[0].asObject(rt).asFunction(rt));
|
771
|
-
return jsi::Value::undefined();
|
772
|
-
}
|
773
|
-
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
774
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(rt, args[0].asNumber());
|
775
|
-
return jsi::Value::undefined();
|
776
|
-
}
|
777
|
-
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
778
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->announceForAccessibility(rt, args[0].asString(rt));
|
779
|
-
return jsi::Value::undefined();
|
780
|
-
}
|
781
|
-
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
782
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->getRecommendedTimeoutMillis(rt, args[0].asNumber(), args[1].asObject(rt).asFunction(rt));
|
783
|
-
return jsi::Value::undefined();
|
784
|
-
}
|
785
|
-
|
786
|
-
NativeAccessibilityInfoCxxSpecJSI::NativeAccessibilityInfoCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
787
|
-
: TurboModule("AccessibilityInfo", jsInvoker) {
|
788
|
-
methodMap_["isReduceMotionEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled};
|
789
|
-
methodMap_["isTouchExplorationEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled};
|
790
|
-
methodMap_["isAccessibilityServiceEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled};
|
791
|
-
methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus};
|
792
|
-
methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility};
|
793
|
-
methodMap_["getRecommendedTimeoutMillis"] = MethodMetadata {2, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis};
|
794
|
-
}
|
795
|
-
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
796
|
-
return static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
797
|
-
}
|
798
|
-
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
799
|
-
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->show(rt, args[0].asString(rt), args[1].asNumber());
|
800
|
-
return jsi::Value::undefined();
|
801
|
-
}
|
802
|
-
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravity(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
803
|
-
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravity(rt, args[0].asString(rt), args[1].asNumber(), args[2].asNumber());
|
804
|
-
return jsi::Value::undefined();
|
805
|
-
}
|
806
|
-
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
807
|
-
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravityAndOffset(rt, args[0].asString(rt), args[1].asNumber(), args[2].asNumber(), args[3].asNumber(), args[4].asNumber());
|
808
|
-
return jsi::Value::undefined();
|
809
|
-
}
|
810
|
-
|
811
|
-
NativeToastAndroidCxxSpecJSI::NativeToastAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
812
|
-
: TurboModule("ToastAndroid", jsInvoker) {
|
813
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeToastAndroidCxxSpecJSI_getConstants};
|
814
|
-
methodMap_["show"] = MethodMetadata {2, __hostFunction_NativeToastAndroidCxxSpecJSI_show};
|
815
|
-
methodMap_["showWithGravity"] = MethodMetadata {3, __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravity};
|
816
|
-
methodMap_["showWithGravityAndOffset"] = MethodMetadata {5, __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset};
|
817
|
-
}
|
818
|
-
static jsi::Value __hostFunction_NativeSoundManagerCxxSpecJSI_playTouchSound(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
819
|
-
static_cast<NativeSoundManagerCxxSpecJSI *>(&turboModule)->playTouchSound(rt);
|
820
|
-
return jsi::Value::undefined();
|
821
|
-
}
|
822
|
-
|
823
|
-
NativeSoundManagerCxxSpecJSI::NativeSoundManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
824
|
-
: TurboModule("SoundManager", jsInvoker) {
|
825
|
-
methodMap_["playTouchSound"] = MethodMetadata {0, __hostFunction_NativeSoundManagerCxxSpecJSI_playTouchSound};
|
826
|
-
}
|
827
|
-
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
828
|
-
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
829
|
-
return jsi::Value::undefined();
|
830
|
-
}
|
831
|
-
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
832
|
-
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
833
|
-
return jsi::Value::undefined();
|
834
|
-
}
|
835
|
-
|
836
|
-
NativeKeyboardObserverCxxSpecJSI::NativeKeyboardObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
837
|
-
: TurboModule("KeyboardObserver", jsInvoker) {
|
838
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverCxxSpecJSI_addListener};
|
839
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners};
|
840
|
-
}
|
841
|
-
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
842
|
-
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
843
|
-
}
|
844
|
-
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
845
|
-
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getString(rt);
|
846
|
-
}
|
847
|
-
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_setString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
848
|
-
static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->setString(rt, args[0].asString(rt));
|
849
|
-
return jsi::Value::undefined();
|
850
|
-
}
|
851
|
-
|
852
|
-
NativeClipboardCxxSpecJSI::NativeClipboardCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
853
|
-
: TurboModule("Clipboard", jsInvoker) {
|
854
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeClipboardCxxSpecJSI_getConstants};
|
855
|
-
methodMap_["getString"] = MethodMetadata {0, __hostFunction_NativeClipboardCxxSpecJSI_getString};
|
856
|
-
methodMap_["setString"] = MethodMetadata {1, __hostFunction_NativeClipboardCxxSpecJSI_setString};
|
857
|
-
}
|
858
|
-
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
859
|
-
return static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
860
|
-
}
|
861
|
-
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
862
|
-
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getCurrentAppState(rt, args[0].asObject(rt).asFunction(rt), args[1].asObject(rt).asFunction(rt));
|
863
|
-
return jsi::Value::undefined();
|
864
|
-
}
|
865
|
-
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
866
|
-
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
867
|
-
return jsi::Value::undefined();
|
868
|
-
}
|
869
|
-
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
870
|
-
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
871
|
-
return jsi::Value::undefined();
|
872
|
-
}
|
873
|
-
|
874
|
-
NativeAppStateCxxSpecJSI::NativeAppStateCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
875
|
-
: TurboModule("AppState", jsInvoker) {
|
876
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeAppStateCxxSpecJSI_getConstants};
|
877
|
-
methodMap_["getCurrentAppState"] = MethodMetadata {2, __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState};
|
878
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAppStateCxxSpecJSI_addListener};
|
879
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppStateCxxSpecJSI_removeListeners};
|
880
|
-
}
|
881
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
882
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->startReporting(rt, args[0].asNumber());
|
883
|
-
return jsi::Value::undefined();
|
884
|
-
}
|
885
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_stopReporting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
886
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->stopReporting(rt, args[0].asNumber());
|
887
|
-
return jsi::Value::undefined();
|
888
|
-
}
|
889
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
890
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->popPendingEntries(rt);
|
891
|
-
}
|
892
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
893
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setOnPerformanceEntryCallback(rt, count < 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asObject(rt).asFunction(rt)));
|
894
|
-
return jsi::Value::undefined();
|
895
|
-
}
|
896
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
897
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->logRawEntry(rt, args[0].asObject(rt));
|
898
|
-
return jsi::Value::undefined();
|
899
|
-
}
|
900
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getEventCounts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
901
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEventCounts(rt);
|
902
|
-
}
|
903
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setDurationThreshold(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
904
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setDurationThreshold(rt, args[0].asNumber(), args[1].asNumber());
|
905
|
-
return jsi::Value::undefined();
|
906
|
-
}
|
907
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_clearEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
908
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->clearEntries(rt, args[0].asNumber(), count < 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt)));
|
909
|
-
return jsi::Value::undefined();
|
910
|
-
}
|
911
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
912
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEntries(rt, count < 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()), count < 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt)));
|
913
|
-
}
|
914
|
-
|
915
|
-
NativePerformanceObserverCxxSpecJSI::NativePerformanceObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
916
|
-
: TurboModule("NativePerformanceObserverCxx", jsInvoker) {
|
917
|
-
methodMap_["startReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting};
|
918
|
-
methodMap_["stopReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_stopReporting};
|
919
|
-
methodMap_["popPendingEntries"] = MethodMetadata {0, __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries};
|
920
|
-
methodMap_["setOnPerformanceEntryCallback"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback};
|
921
|
-
methodMap_["logRawEntry"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry};
|
922
|
-
methodMap_["getEventCounts"] = MethodMetadata {0, __hostFunction_NativePerformanceObserverCxxSpecJSI_getEventCounts};
|
923
|
-
methodMap_["setDurationThreshold"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_setDurationThreshold};
|
924
|
-
methodMap_["clearEntries"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_clearEntries};
|
925
|
-
methodMap_["getEntries"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_getEntries};
|
926
|
-
}
|
927
|
-
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_mark(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
928
|
-
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->mark(rt, args[0].asString(rt), args[1].asNumber(), args[2].asNumber());
|
929
|
-
return jsi::Value::undefined();
|
930
|
-
}
|
931
|
-
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
932
|
-
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->measure(rt, args[0].asString(rt), args[1].asNumber(), args[2].asNumber(), count < 3 || args[3].isNull() || args[3].isUndefined() ? std::nullopt : std::make_optional(args[3].asNumber()), count < 4 || args[4].isNull() || args[4].isUndefined() ? std::nullopt : std::make_optional(args[4].asString(rt)), count < 5 || args[5].isNull() || args[5].isUndefined() ? std::nullopt : std::make_optional(args[5].asString(rt)));
|
933
|
-
return jsi::Value::undefined();
|
934
|
-
}
|
935
|
-
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
936
|
-
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getSimpleMemoryInfo(rt);
|
937
|
-
}
|
938
|
-
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
939
|
-
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getReactNativeStartupTiming(rt);
|
940
|
-
}
|
941
|
-
|
942
|
-
NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
943
|
-
: TurboModule("NativePerformanceCxx", jsInvoker) {
|
944
|
-
methodMap_["mark"] = MethodMetadata {3, __hostFunction_NativePerformanceCxxSpecJSI_mark};
|
945
|
-
methodMap_["measure"] = MethodMetadata {6, __hostFunction_NativePerformanceCxxSpecJSI_measure};
|
946
|
-
methodMap_["getSimpleMemoryInfo"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo};
|
947
|
-
methodMap_["getReactNativeStartupTiming"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming};
|
948
|
-
}
|
949
|
-
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_startReportAProblemFlow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
950
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->startReportAProblemFlow(rt);
|
951
|
-
return jsi::Value::undefined();
|
952
|
-
}
|
953
|
-
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
954
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setExtraData(rt, args[0].asObject(rt), args[1].asObject(rt));
|
955
|
-
return jsi::Value::undefined();
|
956
|
-
}
|
957
|
-
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_setCategoryID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
958
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setCategoryID(rt, args[0].asString(rt));
|
959
|
-
return jsi::Value::undefined();
|
960
|
-
}
|
961
|
-
|
962
|
-
NativeBugReportingCxxSpecJSI::NativeBugReportingCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
963
|
-
: TurboModule("BugReporting", jsInvoker) {
|
964
|
-
methodMap_["startReportAProblemFlow"] = MethodMetadata {0, __hostFunction_NativeBugReportingCxxSpecJSI_startReportAProblemFlow};
|
965
|
-
methodMap_["setExtraData"] = MethodMetadata {2, __hostFunction_NativeBugReportingCxxSpecJSI_setExtraData};
|
966
|
-
methodMap_["setCategoryID"] = MethodMetadata {1, __hostFunction_NativeBugReportingCxxSpecJSI_setCategoryID};
|
967
|
-
}
|
968
|
-
static jsi::Value __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
969
|
-
static_cast<NativeJSCHeapCaptureCxxSpecJSI *>(&turboModule)->captureComplete(rt, args[0].asString(rt), args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt)));
|
970
|
-
return jsi::Value::undefined();
|
971
|
-
}
|
972
|
-
|
973
|
-
NativeJSCHeapCaptureCxxSpecJSI::NativeJSCHeapCaptureCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
974
|
-
: TurboModule("JSCHeapCapture", jsInvoker) {
|
975
|
-
methodMap_["captureComplete"] = MethodMetadata {2, __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete};
|
976
|
-
}
|
977
|
-
static jsi::Value __hostFunction_NativeJSCSamplingProfilerCxxSpecJSI_operationComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
978
|
-
static_cast<NativeJSCSamplingProfilerCxxSpecJSI *>(&turboModule)->operationComplete(rt, args[0].asNumber(), args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt)), args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asString(rt)));
|
979
|
-
return jsi::Value::undefined();
|
980
|
-
}
|
981
|
-
|
982
|
-
NativeJSCSamplingProfilerCxxSpecJSI::NativeJSCSamplingProfilerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
983
|
-
: TurboModule("JSCSamplingProfiler", jsInvoker) {
|
984
|
-
methodMap_["operationComplete"] = MethodMetadata {3, __hostFunction_NativeJSCSamplingProfilerCxxSpecJSI_operationComplete};
|
985
|
-
}
|
986
|
-
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
987
|
-
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
988
|
-
return jsi::Value::undefined();
|
989
|
-
}
|
990
|
-
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
991
|
-
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
992
|
-
return jsi::Value::undefined();
|
993
|
-
}
|
994
|
-
|
995
|
-
NativeModalManagerCxxSpecJSI::NativeModalManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
996
|
-
: TurboModule("ModalManager", jsInvoker) {
|
997
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeModalManagerCxxSpecJSI_addListener};
|
998
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners};
|
999
|
-
}
|
1000
|
-
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1001
|
-
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(rt, args[0].asObject(rt));
|
1002
|
-
}
|
1003
|
-
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1004
|
-
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(rt, args[0].asObject(rt), args[1].asString(rt));
|
1005
|
-
}
|
1006
|
-
|
1007
|
-
NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1008
|
-
: TurboModule("FileReaderModule", jsInvoker) {
|
1009
|
-
methodMap_["readAsDataURL"] = MethodMetadata {1, __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL};
|
1010
|
-
methodMap_["readAsText"] = MethodMetadata {2, __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText};
|
1011
|
-
}
|
1012
|
-
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1013
|
-
return static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
1014
|
-
}
|
1015
|
-
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addNetworkingHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1016
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addNetworkingHandler(rt);
|
1017
|
-
return jsi::Value::undefined();
|
1018
|
-
}
|
1019
|
-
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1020
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addWebSocketHandler(rt, args[0].asNumber());
|
1021
|
-
return jsi::Value::undefined();
|
1022
|
-
}
|
1023
|
-
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_removeWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1024
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->removeWebSocketHandler(rt, args[0].asNumber());
|
1025
|
-
return jsi::Value::undefined();
|
1026
|
-
}
|
1027
|
-
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_sendOverSocket(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1028
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->sendOverSocket(rt, args[0].asObject(rt), args[1].asNumber());
|
1029
|
-
return jsi::Value::undefined();
|
1030
|
-
}
|
1031
|
-
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_createFromParts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1032
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->createFromParts(rt, args[0].asObject(rt).asArray(rt), args[1].asString(rt));
|
1033
|
-
return jsi::Value::undefined();
|
1034
|
-
}
|
1035
|
-
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_release(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1036
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->release(rt, args[0].asString(rt));
|
1037
|
-
return jsi::Value::undefined();
|
1038
|
-
}
|
1039
|
-
|
1040
|
-
NativeBlobModuleCxxSpecJSI::NativeBlobModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1041
|
-
: TurboModule("BlobModule", jsInvoker) {
|
1042
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeBlobModuleCxxSpecJSI_getConstants};
|
1043
|
-
methodMap_["addNetworkingHandler"] = MethodMetadata {0, __hostFunction_NativeBlobModuleCxxSpecJSI_addNetworkingHandler};
|
1044
|
-
methodMap_["addWebSocketHandler"] = MethodMetadata {1, __hostFunction_NativeBlobModuleCxxSpecJSI_addWebSocketHandler};
|
1045
|
-
methodMap_["removeWebSocketHandler"] = MethodMetadata {1, __hostFunction_NativeBlobModuleCxxSpecJSI_removeWebSocketHandler};
|
1046
|
-
methodMap_["sendOverSocket"] = MethodMetadata {2, __hostFunction_NativeBlobModuleCxxSpecJSI_sendOverSocket};
|
1047
|
-
methodMap_["createFromParts"] = MethodMetadata {2, __hostFunction_NativeBlobModuleCxxSpecJSI_createFromParts};
|
1048
|
-
methodMap_["release"] = MethodMetadata {1, __hostFunction_NativeBlobModuleCxxSpecJSI_release};
|
1049
|
-
}
|
1050
|
-
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setGlobalOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1051
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setGlobalOptions(rt, args[0].asObject(rt));
|
1052
|
-
return jsi::Value::undefined();
|
1053
|
-
}
|
1054
|
-
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setContext(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1055
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setContext(rt, args[0].asString(rt));
|
1056
|
-
return jsi::Value::undefined();
|
1057
|
-
}
|
1058
|
-
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_beginScroll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1059
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->beginScroll(rt);
|
1060
|
-
return jsi::Value::undefined();
|
1061
|
-
}
|
1062
|
-
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_endScroll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1063
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->endScroll(rt);
|
1064
|
-
return jsi::Value::undefined();
|
1065
|
-
}
|
1066
|
-
|
1067
|
-
NativeFrameRateLoggerCxxSpecJSI::NativeFrameRateLoggerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1068
|
-
: TurboModule("FrameRateLogger", jsInvoker) {
|
1069
|
-
methodMap_["setGlobalOptions"] = MethodMetadata {1, __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setGlobalOptions};
|
1070
|
-
methodMap_["setContext"] = MethodMetadata {1, __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setContext};
|
1071
|
-
methodMap_["beginScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerCxxSpecJSI_beginScroll};
|
1072
|
-
methodMap_["endScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerCxxSpecJSI_endScroll};
|
1073
|
-
}
|
1074
|
-
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1075
|
-
return static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
1076
|
-
}
|
1077
|
-
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1078
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(rt, args[0].asBool());
|
1079
|
-
return jsi::Value::undefined();
|
1080
|
-
}
|
1081
|
-
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_forceRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1082
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->forceRTL(rt, args[0].asBool());
|
1083
|
-
return jsi::Value::undefined();
|
1084
|
-
}
|
1085
|
-
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1086
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->swapLeftAndRightInRTL(rt, args[0].asBool());
|
1087
|
-
return jsi::Value::undefined();
|
1088
|
-
}
|
1089
|
-
|
1090
|
-
NativeI18nManagerCxxSpecJSI::NativeI18nManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1091
|
-
: TurboModule("I18nManager", jsInvoker) {
|
1092
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants};
|
1093
|
-
methodMap_["allowRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL};
|
1094
|
-
methodMap_["forceRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerCxxSpecJSI_forceRTL};
|
1095
|
-
methodMap_["swapLeftAndRightInRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL};
|
1096
|
-
}
|
1097
|
-
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1098
|
-
static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskFinished(rt, args[0].asNumber());
|
1099
|
-
return jsi::Value::undefined();
|
1100
|
-
}
|
1101
|
-
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1102
|
-
return static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskRetry(rt, args[0].asNumber());
|
1103
|
-
}
|
1104
|
-
|
1105
|
-
NativeHeadlessJsTaskSupportCxxSpecJSI::NativeHeadlessJsTaskSupportCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1106
|
-
: TurboModule("HeadlessJsTaskSupport", jsInvoker) {
|
1107
|
-
methodMap_["notifyTaskFinished"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished};
|
1108
|
-
methodMap_["notifyTaskRetry"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry};
|
1109
|
-
}
|
1110
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1111
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(rt);
|
1112
|
-
return jsi::Value::undefined();
|
1113
|
-
}
|
1114
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_finishOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1115
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(rt);
|
1116
|
-
return jsi::Value::undefined();
|
1117
|
-
}
|
1118
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1119
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(rt, args[0].asNumber(), args[1].asObject(rt));
|
1120
|
-
return jsi::Value::undefined();
|
1121
|
-
}
|
1122
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1123
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(rt, args[0].asNumber(), args[1].asObject(rt));
|
1124
|
-
return jsi::Value::undefined();
|
1125
|
-
}
|
1126
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1127
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->getValue(rt, args[0].asNumber(), args[1].asObject(rt).asFunction(rt));
|
1128
|
-
return jsi::Value::undefined();
|
1129
|
-
}
|
1130
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1131
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(rt, args[0].asNumber());
|
1132
|
-
return jsi::Value::undefined();
|
1133
|
-
}
|
1134
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1135
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(rt, args[0].asNumber());
|
1136
|
-
return jsi::Value::undefined();
|
1137
|
-
}
|
1138
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1139
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(rt, args[0].asNumber(), args[1].asNumber());
|
1140
|
-
return jsi::Value::undefined();
|
1141
|
-
}
|
1142
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1143
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(rt, args[0].asNumber(), args[1].asNumber());
|
1144
|
-
return jsi::Value::undefined();
|
1145
|
-
}
|
1146
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1147
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(rt, args[0].asNumber(), args[1].asNumber(), args[2].asObject(rt), args[3].asObject(rt).asFunction(rt));
|
1148
|
-
return jsi::Value::undefined();
|
1149
|
-
}
|
1150
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1151
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopAnimation(rt, args[0].asNumber());
|
1152
|
-
return jsi::Value::undefined();
|
1153
|
-
}
|
1154
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1155
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(rt, args[0].asNumber(), args[1].asNumber());
|
1156
|
-
return jsi::Value::undefined();
|
1157
|
-
}
|
1158
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1159
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(rt, args[0].asNumber(), args[1].asNumber());
|
1160
|
-
return jsi::Value::undefined();
|
1161
|
-
}
|
1162
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1163
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(rt, args[0].asNumber());
|
1164
|
-
return jsi::Value::undefined();
|
1165
|
-
}
|
1166
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1167
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(rt, args[0].asNumber());
|
1168
|
-
return jsi::Value::undefined();
|
1169
|
-
}
|
1170
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1171
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(rt, args[0].asNumber(), args[1].asNumber());
|
1172
|
-
return jsi::Value::undefined();
|
1173
|
-
}
|
1174
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1175
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(rt, args[0].asNumber(), args[1].asNumber());
|
1176
|
-
return jsi::Value::undefined();
|
1177
|
-
}
|
1178
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1179
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(rt, args[0].asNumber());
|
1180
|
-
return jsi::Value::undefined();
|
1181
|
-
}
|
1182
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1183
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(rt, args[0].asNumber());
|
1184
|
-
return jsi::Value::undefined();
|
1185
|
-
}
|
1186
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1187
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(rt, args[0].asNumber(), args[1].asString(rt), args[2].asObject(rt));
|
1188
|
-
return jsi::Value::undefined();
|
1189
|
-
}
|
1190
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1191
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(rt, args[0].asNumber(), args[1].asString(rt), args[2].asNumber());
|
1192
|
-
return jsi::Value::undefined();
|
1193
|
-
}
|
1194
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1195
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
1196
|
-
return jsi::Value::undefined();
|
1197
|
-
}
|
1198
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1199
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
1200
|
-
return jsi::Value::undefined();
|
1201
|
-
}
|
1202
|
-
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1203
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(rt, args[0].asObject(rt).asArray(rt));
|
1204
|
-
return jsi::Value::undefined();
|
1205
|
-
}
|
1206
|
-
|
1207
|
-
NativeAnimatedTurboModuleCxxSpecJSI::NativeAnimatedTurboModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1208
|
-
: TurboModule("NativeAnimatedTurboModule", jsInvoker) {
|
1209
|
-
methodMap_["startOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startOperationBatch};
|
1210
|
-
methodMap_["finishOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_finishOperationBatch};
|
1211
|
-
methodMap_["createAnimatedNode"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_createAnimatedNode};
|
1212
|
-
methodMap_["updateAnimatedNodeConfig"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_updateAnimatedNodeConfig};
|
1213
|
-
methodMap_["getValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_getValue};
|
1214
|
-
methodMap_["startListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startListeningToAnimatedNodeValue};
|
1215
|
-
methodMap_["stopListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopListeningToAnimatedNodeValue};
|
1216
|
-
methodMap_["connectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodes};
|
1217
|
-
methodMap_["disconnectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodes};
|
1218
|
-
methodMap_["startAnimatingNode"] = MethodMetadata {4, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startAnimatingNode};
|
1219
|
-
methodMap_["stopAnimation"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopAnimation};
|
1220
|
-
methodMap_["setAnimatedNodeValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeValue};
|
1221
|
-
methodMap_["setAnimatedNodeOffset"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeOffset};
|
1222
|
-
methodMap_["flattenAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_flattenAnimatedNodeOffset};
|
1223
|
-
methodMap_["extractAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_extractAnimatedNodeOffset};
|
1224
|
-
methodMap_["connectAnimatedNodeToView"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodeToView};
|
1225
|
-
methodMap_["disconnectAnimatedNodeFromView"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodeFromView};
|
1226
|
-
methodMap_["restoreDefaultValues"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_restoreDefaultValues};
|
1227
|
-
methodMap_["dropAnimatedNode"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_dropAnimatedNode};
|
1228
|
-
methodMap_["addAnimatedEventToView"] = MethodMetadata {3, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addAnimatedEventToView};
|
1229
|
-
methodMap_["removeAnimatedEventFromView"] = MethodMetadata {3, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeAnimatedEventFromView};
|
1230
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addListener};
|
1231
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners};
|
1232
|
-
methodMap_["queueAndExecuteBatchedOperations"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations};
|
1233
|
-
}
|
1234
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1235
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(rt);
|
1236
|
-
return jsi::Value::undefined();
|
1237
|
-
}
|
1238
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_finishOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1239
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(rt);
|
1240
|
-
return jsi::Value::undefined();
|
1241
|
-
}
|
1242
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1243
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(rt, args[0].asNumber(), args[1].asObject(rt));
|
1244
|
-
return jsi::Value::undefined();
|
1245
|
-
}
|
1246
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1247
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(rt, args[0].asNumber(), args[1].asObject(rt));
|
1248
|
-
return jsi::Value::undefined();
|
1249
|
-
}
|
1250
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1251
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->getValue(rt, args[0].asNumber(), args[1].asObject(rt).asFunction(rt));
|
1252
|
-
return jsi::Value::undefined();
|
1253
|
-
}
|
1254
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1255
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(rt, args[0].asNumber());
|
1256
|
-
return jsi::Value::undefined();
|
1257
|
-
}
|
1258
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1259
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(rt, args[0].asNumber());
|
1260
|
-
return jsi::Value::undefined();
|
1261
|
-
}
|
1262
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1263
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(rt, args[0].asNumber(), args[1].asNumber());
|
1264
|
-
return jsi::Value::undefined();
|
1265
|
-
}
|
1266
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1267
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(rt, args[0].asNumber(), args[1].asNumber());
|
1268
|
-
return jsi::Value::undefined();
|
1269
|
-
}
|
1270
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1271
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(rt, args[0].asNumber(), args[1].asNumber(), args[2].asObject(rt), args[3].asObject(rt).asFunction(rt));
|
1272
|
-
return jsi::Value::undefined();
|
1273
|
-
}
|
1274
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1275
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopAnimation(rt, args[0].asNumber());
|
1276
|
-
return jsi::Value::undefined();
|
1277
|
-
}
|
1278
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1279
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(rt, args[0].asNumber(), args[1].asNumber());
|
1280
|
-
return jsi::Value::undefined();
|
1281
|
-
}
|
1282
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1283
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(rt, args[0].asNumber(), args[1].asNumber());
|
1284
|
-
return jsi::Value::undefined();
|
1285
|
-
}
|
1286
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1287
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(rt, args[0].asNumber());
|
1288
|
-
return jsi::Value::undefined();
|
1289
|
-
}
|
1290
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1291
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(rt, args[0].asNumber());
|
1292
|
-
return jsi::Value::undefined();
|
1293
|
-
}
|
1294
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1295
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(rt, args[0].asNumber(), args[1].asNumber());
|
1296
|
-
return jsi::Value::undefined();
|
1297
|
-
}
|
1298
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1299
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(rt, args[0].asNumber(), args[1].asNumber());
|
1300
|
-
return jsi::Value::undefined();
|
1301
|
-
}
|
1302
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1303
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(rt, args[0].asNumber());
|
1304
|
-
return jsi::Value::undefined();
|
1305
|
-
}
|
1306
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1307
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(rt, args[0].asNumber());
|
1308
|
-
return jsi::Value::undefined();
|
1309
|
-
}
|
1310
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1311
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(rt, args[0].asNumber(), args[1].asString(rt), args[2].asObject(rt));
|
1312
|
-
return jsi::Value::undefined();
|
1313
|
-
}
|
1314
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1315
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(rt, args[0].asNumber(), args[1].asString(rt), args[2].asNumber());
|
1316
|
-
return jsi::Value::undefined();
|
1317
|
-
}
|
1318
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1319
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
1320
|
-
return jsi::Value::undefined();
|
1321
|
-
}
|
1322
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1323
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
1324
|
-
return jsi::Value::undefined();
|
1325
|
-
}
|
1326
|
-
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1327
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(rt, args[0].asObject(rt).asArray(rt));
|
1328
|
-
return jsi::Value::undefined();
|
1329
|
-
}
|
1330
|
-
|
1331
|
-
NativeAnimatedModuleCxxSpecJSI::NativeAnimatedModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1332
|
-
: TurboModule("NativeAnimatedModule", jsInvoker) {
|
1333
|
-
methodMap_["startOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedModuleCxxSpecJSI_startOperationBatch};
|
1334
|
-
methodMap_["finishOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedModuleCxxSpecJSI_finishOperationBatch};
|
1335
|
-
methodMap_["createAnimatedNode"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleCxxSpecJSI_createAnimatedNode};
|
1336
|
-
methodMap_["updateAnimatedNodeConfig"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleCxxSpecJSI_updateAnimatedNodeConfig};
|
1337
|
-
methodMap_["getValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleCxxSpecJSI_getValue};
|
1338
|
-
methodMap_["startListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_startListeningToAnimatedNodeValue};
|
1339
|
-
methodMap_["stopListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopListeningToAnimatedNodeValue};
|
1340
|
-
methodMap_["connectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodes};
|
1341
|
-
methodMap_["disconnectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodes};
|
1342
|
-
methodMap_["startAnimatingNode"] = MethodMetadata {4, __hostFunction_NativeAnimatedModuleCxxSpecJSI_startAnimatingNode};
|
1343
|
-
methodMap_["stopAnimation"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopAnimation};
|
1344
|
-
methodMap_["setAnimatedNodeValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeValue};
|
1345
|
-
methodMap_["setAnimatedNodeOffset"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeOffset};
|
1346
|
-
methodMap_["flattenAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_flattenAnimatedNodeOffset};
|
1347
|
-
methodMap_["extractAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_extractAnimatedNodeOffset};
|
1348
|
-
methodMap_["connectAnimatedNodeToView"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodeToView};
|
1349
|
-
methodMap_["disconnectAnimatedNodeFromView"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodeFromView};
|
1350
|
-
methodMap_["restoreDefaultValues"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_restoreDefaultValues};
|
1351
|
-
methodMap_["dropAnimatedNode"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_dropAnimatedNode};
|
1352
|
-
methodMap_["addAnimatedEventToView"] = MethodMetadata {3, __hostFunction_NativeAnimatedModuleCxxSpecJSI_addAnimatedEventToView};
|
1353
|
-
methodMap_["removeAnimatedEventFromView"] = MethodMetadata {3, __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeAnimatedEventFromView};
|
1354
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_addListener};
|
1355
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeListeners};
|
1356
|
-
methodMap_["queueAndExecuteBatchedOperations"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_queueAndExecuteBatchedOperations};
|
1357
|
-
}
|
1358
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1359
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
1360
|
-
}
|
1361
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_onFinishRemoteNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1362
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->onFinishRemoteNotification(rt, args[0].asString(rt), args[1].asString(rt));
|
1363
|
-
return jsi::Value::undefined();
|
1364
|
-
}
|
1365
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_setApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1366
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->setApplicationIconBadgeNumber(rt, args[0].asNumber());
|
1367
|
-
return jsi::Value::undefined();
|
1368
|
-
}
|
1369
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1370
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getApplicationIconBadgeNumber(rt, args[0].asObject(rt).asFunction(rt));
|
1371
|
-
return jsi::Value::undefined();
|
1372
|
-
}
|
1373
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_requestPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1374
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->requestPermissions(rt, args[0].asObject(rt));
|
1375
|
-
}
|
1376
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1377
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->abandonPermissions(rt);
|
1378
|
-
return jsi::Value::undefined();
|
1379
|
-
}
|
1380
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1381
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->checkPermissions(rt, args[0].asObject(rt).asFunction(rt));
|
1382
|
-
return jsi::Value::undefined();
|
1383
|
-
}
|
1384
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1385
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->presentLocalNotification(rt, args[0].asObject(rt));
|
1386
|
-
return jsi::Value::undefined();
|
1387
|
-
}
|
1388
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1389
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->scheduleLocalNotification(rt, args[0].asObject(rt));
|
1390
|
-
return jsi::Value::undefined();
|
1391
|
-
}
|
1392
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelAllLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1393
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelAllLocalNotifications(rt);
|
1394
|
-
return jsi::Value::undefined();
|
1395
|
-
}
|
1396
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1397
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelLocalNotifications(rt, args[0].asObject(rt));
|
1398
|
-
return jsi::Value::undefined();
|
1399
|
-
}
|
1400
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getInitialNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1401
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getInitialNotification(rt);
|
1402
|
-
}
|
1403
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1404
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(rt, args[0].asObject(rt).asFunction(rt));
|
1405
|
-
return jsi::Value::undefined();
|
1406
|
-
}
|
1407
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeAllDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1408
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeAllDeliveredNotifications(rt);
|
1409
|
-
return jsi::Value::undefined();
|
1410
|
-
}
|
1411
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1412
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeDeliveredNotifications(rt, args[0].asObject(rt).asArray(rt));
|
1413
|
-
return jsi::Value::undefined();
|
1414
|
-
}
|
1415
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1416
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getDeliveredNotifications(rt, args[0].asObject(rt).asFunction(rt));
|
1417
|
-
return jsi::Value::undefined();
|
1418
|
-
}
|
1419
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1420
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getAuthorizationStatus(rt, args[0].asObject(rt).asFunction(rt));
|
1421
|
-
return jsi::Value::undefined();
|
1422
|
-
}
|
1423
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1424
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
1425
|
-
return jsi::Value::undefined();
|
1426
|
-
}
|
1427
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1428
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
1429
|
-
return jsi::Value::undefined();
|
1430
|
-
}
|
1431
|
-
|
1432
|
-
NativePushNotificationManagerIOSCxxSpecJSI::NativePushNotificationManagerIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1433
|
-
: TurboModule("PushNotificationManager", jsInvoker) {
|
1434
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getConstants};
|
1435
|
-
methodMap_["onFinishRemoteNotification"] = MethodMetadata {2, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_onFinishRemoteNotification};
|
1436
|
-
methodMap_["setApplicationIconBadgeNumber"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_setApplicationIconBadgeNumber};
|
1437
|
-
methodMap_["getApplicationIconBadgeNumber"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getApplicationIconBadgeNumber};
|
1438
|
-
methodMap_["requestPermissions"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_requestPermissions};
|
1439
|
-
methodMap_["abandonPermissions"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions};
|
1440
|
-
methodMap_["checkPermissions"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions};
|
1441
|
-
methodMap_["presentLocalNotification"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification};
|
1442
|
-
methodMap_["scheduleLocalNotification"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification};
|
1443
|
-
methodMap_["cancelAllLocalNotifications"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelAllLocalNotifications};
|
1444
|
-
methodMap_["cancelLocalNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications};
|
1445
|
-
methodMap_["getInitialNotification"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getInitialNotification};
|
1446
|
-
methodMap_["getScheduledLocalNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications};
|
1447
|
-
methodMap_["removeAllDeliveredNotifications"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeAllDeliveredNotifications};
|
1448
|
-
methodMap_["removeDeliveredNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications};
|
1449
|
-
methodMap_["getDeliveredNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications};
|
1450
|
-
methodMap_["getAuthorizationStatus"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus};
|
1451
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener};
|
1452
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners};
|
1453
|
-
}
|
1454
|
-
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_getInitialURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1455
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->getInitialURL(rt);
|
1456
|
-
}
|
1457
|
-
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1458
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->canOpenURL(rt, args[0].asString(rt));
|
1459
|
-
}
|
1460
|
-
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1461
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openURL(rt, args[0].asString(rt));
|
1462
|
-
}
|
1463
|
-
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1464
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openSettings(rt);
|
1465
|
-
}
|
1466
|
-
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1467
|
-
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->addListener(rt, args[0].asString(rt));
|
1468
|
-
return jsi::Value::undefined();
|
1469
|
-
}
|
1470
|
-
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1471
|
-
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->removeListeners(rt, args[0].asNumber());
|
1472
|
-
return jsi::Value::undefined();
|
1473
|
-
}
|
1474
|
-
|
1475
|
-
NativeLinkingManagerCxxSpecJSI::NativeLinkingManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1476
|
-
: TurboModule("LinkingManager", jsInvoker) {
|
1477
|
-
methodMap_["getInitialURL"] = MethodMetadata {0, __hostFunction_NativeLinkingManagerCxxSpecJSI_getInitialURL};
|
1478
|
-
methodMap_["canOpenURL"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_canOpenURL};
|
1479
|
-
methodMap_["openURL"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_openURL};
|
1480
|
-
methodMap_["openSettings"] = MethodMetadata {0, __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings};
|
1481
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_addListener};
|
1482
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners};
|
1483
|
-
}
|
1484
|
-
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_getInitialURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1485
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->getInitialURL(rt);
|
1486
|
-
}
|
1487
|
-
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1488
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->canOpenURL(rt, args[0].asString(rt));
|
1489
|
-
}
|
1490
|
-
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1491
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openURL(rt, args[0].asString(rt));
|
1492
|
-
}
|
1493
|
-
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1494
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openSettings(rt);
|
1495
|
-
}
|
1496
|
-
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1497
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->sendIntent(rt, args[0].asString(rt), args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt)));
|
1498
|
-
}
|
1499
|
-
|
1500
|
-
NativeIntentAndroidCxxSpecJSI::NativeIntentAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1501
|
-
: TurboModule("IntentAndroid", jsInvoker) {
|
1502
|
-
methodMap_["getInitialURL"] = MethodMetadata {0, __hostFunction_NativeIntentAndroidCxxSpecJSI_getInitialURL};
|
1503
|
-
methodMap_["canOpenURL"] = MethodMetadata {1, __hostFunction_NativeIntentAndroidCxxSpecJSI_canOpenURL};
|
1504
|
-
methodMap_["openURL"] = MethodMetadata {1, __hostFunction_NativeIntentAndroidCxxSpecJSI_openURL};
|
1505
|
-
methodMap_["openSettings"] = MethodMetadata {0, __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings};
|
1506
|
-
methodMap_["sendIntent"] = MethodMetadata {2, __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent};
|
1507
|
-
}
|
1508
|
-
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1509
|
-
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->getConstants(rt);
|
1510
|
-
}
|
1511
|
-
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_share(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1512
|
-
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->share(rt, args[0].asObject(rt), count < 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt)));
|
1513
|
-
}
|
1514
|
-
|
1515
|
-
NativeShareModuleCxxSpecJSI::NativeShareModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1516
|
-
: TurboModule("ShareModule", jsInvoker) {
|
1517
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeShareModuleCxxSpecJSI_getConstants};
|
1518
|
-
methodMap_["share"] = MethodMetadata {2, __hostFunction_NativeShareModuleCxxSpecJSI_share};
|
1519
|
-
}
|
1520
|
-
|
1521
|
-
|
1522
|
-
} // namespace react
|
1523
|
-
} // namespace facebook
|