react-native 0.64.0-rc.4 → 0.64.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/Libraries/Blob/URL.js +1 -1
  2. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +1 -0
  3. package/Libraries/Core/ReactNativeVersion.js +2 -2
  4. package/React/Base/RCTVersion.m +2 -2
  5. package/React/CoreModules/RCTAppearance.mm +3 -1
  6. package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec-generated.mm +2075 -0
  7. package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h +2543 -0
  8. package/React/Views/RefreshControl/RCTRefreshControl.m +5 -0
  9. package/React.podspec +1 -1
  10. package/ReactAndroid/gradle.properties +1 -1
  11. package/ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/OnLoad.cpp +15 -0
  12. package/ReactAndroid/src/main/java/com/facebook/react/ReactActivity.java +7 -0
  13. package/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java +7 -0
  14. package/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java +1 -0
  15. package/ReactAndroid/src/main/java/com/facebook/react/modules/appearance/AppearanceModule.java +10 -1
  16. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +2 -2
  17. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerHelper.java +12 -3
  18. package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java +2 -3
  19. package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
  20. package/android/com/facebook/react/react-native/0.64.3/react-native-0.64.3-javadoc.jar +0 -0
  21. package/android/com/facebook/react/react-native/0.64.3/react-native-0.64.3-javadoc.jar.md5 +1 -0
  22. package/android/com/facebook/react/react-native/0.64.3/react-native-0.64.3-javadoc.jar.sha1 +1 -0
  23. package/android/com/facebook/react/react-native/{0.64.0-rc.4/react-native-0.64.0-rc.4-sources.jar → 0.64.3/react-native-0.64.3-sources.jar} +0 -0
  24. package/android/com/facebook/react/react-native/0.64.3/react-native-0.64.3-sources.jar.md5 +1 -0
  25. package/android/com/facebook/react/react-native/0.64.3/react-native-0.64.3-sources.jar.sha1 +1 -0
  26. package/android/com/facebook/react/react-native/{0.64.0-rc.4/react-native-0.64.0-rc.4.aar → 0.64.3/react-native-0.64.3.aar} +0 -0
  27. package/android/com/facebook/react/react-native/0.64.3/react-native-0.64.3.aar.md5 +1 -0
  28. package/android/com/facebook/react/react-native/0.64.3/react-native-0.64.3.aar.sha1 +1 -0
  29. package/android/com/facebook/react/react-native/{0.64.0-rc.4/react-native-0.64.0-rc.4.pom → 0.64.3/react-native-0.64.3.pom} +1 -1
  30. package/android/com/facebook/react/react-native/0.64.3/react-native-0.64.3.pom.md5 +1 -0
  31. package/android/com/facebook/react/react-native/0.64.3/react-native-0.64.3.pom.sha1 +1 -0
  32. package/android/com/facebook/react/react-native/maven-metadata.xml +3 -3
  33. package/android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -1
  34. package/android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -1
  35. package/package.json +4 -4
  36. package/react.gradle +3 -9
  37. package/scripts/find-node.sh +7 -1
  38. package/scripts/react_native_pods.rb +32 -1
  39. package/template/_editorconfig +3 -0
  40. package/template/_gitattributes +3 -0
  41. package/template/package.json +1 -1
  42. package/android/com/facebook/react/react-native/0.64.0-rc.4/react-native-0.64.0-rc.4-javadoc.jar +0 -0
  43. package/android/com/facebook/react/react-native/0.64.0-rc.4/react-native-0.64.0-rc.4-javadoc.jar.md5 +0 -1
  44. package/android/com/facebook/react/react-native/0.64.0-rc.4/react-native-0.64.0-rc.4-javadoc.jar.sha1 +0 -1
  45. package/android/com/facebook/react/react-native/0.64.0-rc.4/react-native-0.64.0-rc.4-sources.jar.md5 +0 -1
  46. package/android/com/facebook/react/react-native/0.64.0-rc.4/react-native-0.64.0-rc.4-sources.jar.sha1 +0 -1
  47. package/android/com/facebook/react/react-native/0.64.0-rc.4/react-native-0.64.0-rc.4.aar.md5 +0 -1
  48. package/android/com/facebook/react/react-native/0.64.0-rc.4/react-native-0.64.0-rc.4.aar.sha1 +0 -1
  49. package/android/com/facebook/react/react-native/0.64.0-rc.4/react-native-0.64.0-rc.4.pom.md5 +0 -1
  50. package/android/com/facebook/react/react-native/0.64.0-rc.4/react-native-0.64.0-rc.4.pom.sha1 +0 -1
@@ -0,0 +1,2543 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated by codegen project: GenerateModuleObjCpp
8
+ *
9
+ * We create an umbrella header (and corresponding implementation) here since
10
+ * Cxx compilation in BUCK has a limitation: source-code producing genrule()s
11
+ * must have a single output. More files => more genrule()s => slower builds.
12
+ */
13
+
14
+ #ifndef __cplusplus
15
+ #error This file must be compiled as Obj-C++. If you are importing it, you must change your file extension to .mm.
16
+ #endif
17
+ #import <Foundation/Foundation.h>
18
+ #import <RCTRequired/RCTRequired.h>
19
+ #import <RCTTypeSafety/RCTConvertHelpers.h>
20
+ #import <RCTTypeSafety/RCTTypedModuleConstants.h>
21
+ #import <React/RCTBridgeModule.h>
22
+ #import <React/RCTCxxConvert.h>
23
+ #import <React/RCTManagedPointer.h>
24
+ #import <ReactCommon/RCTTurboModule.h>
25
+ #import <folly/Optional.h>
26
+ #import <vector>
27
+
28
+
29
+ @protocol NativeAccessibilityInfoSpec <RCTBridgeModule, RCTTurboModule>
30
+
31
+ - (void)isReduceMotionEnabled:(RCTResponseSenderBlock)onSuccess;
32
+ - (void)isTouchExplorationEnabled:(RCTResponseSenderBlock)onSuccess;
33
+ - (void)setAccessibilityFocus:(double)reactTag;
34
+ - (void)announceForAccessibility:(NSString *)announcement;
35
+
36
+ @end
37
+ namespace facebook {
38
+ namespace react {
39
+ /**
40
+ * ObjC++ class for module 'NativeAccessibilityInfo'
41
+ */
42
+ class JSI_EXPORT NativeAccessibilityInfoSpecJSI : public ObjCTurboModule {
43
+ public:
44
+ NativeAccessibilityInfoSpecJSI(const ObjCTurboModule::InitParams &params);
45
+ };
46
+ } // namespace react
47
+ } // namespace facebook
48
+ namespace JS {
49
+ namespace NativeAccessibilityManager {
50
+ struct SpecSetAccessibilityContentSizeMultipliersJSMultipliers {
51
+ folly::Optional<double> extraSmall() const;
52
+ folly::Optional<double> small() const;
53
+ folly::Optional<double> medium() const;
54
+ folly::Optional<double> large() const;
55
+ folly::Optional<double> extraLarge() const;
56
+ folly::Optional<double> extraExtraLarge() const;
57
+ folly::Optional<double> extraExtraExtraLarge() const;
58
+ folly::Optional<double> accessibilityMedium() const;
59
+ folly::Optional<double> accessibilityLarge() const;
60
+ folly::Optional<double> accessibilityExtraLarge() const;
61
+ folly::Optional<double> accessibilityExtraExtraLarge() const;
62
+ folly::Optional<double> accessibilityExtraExtraExtraLarge() const;
63
+
64
+ SpecSetAccessibilityContentSizeMultipliersJSMultipliers(NSDictionary *const v) : _v(v) {}
65
+ private:
66
+ NSDictionary *_v;
67
+ };
68
+ }
69
+ }
70
+
71
+ @interface RCTCxxConvert (NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers)
72
+ + (RCTManagedPointer *)JS_NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers:(id)json;
73
+ @end
74
+ @protocol NativeAccessibilityManagerSpec <RCTBridgeModule, RCTTurboModule>
75
+
76
+ - (void)getCurrentBoldTextState:(RCTResponseSenderBlock)onSuccess
77
+ onError:(RCTResponseSenderBlock)onError;
78
+ - (void)getCurrentGrayscaleState:(RCTResponseSenderBlock)onSuccess
79
+ onError:(RCTResponseSenderBlock)onError;
80
+ - (void)getCurrentInvertColorsState:(RCTResponseSenderBlock)onSuccess
81
+ onError:(RCTResponseSenderBlock)onError;
82
+ - (void)getCurrentReduceMotionState:(RCTResponseSenderBlock)onSuccess
83
+ onError:(RCTResponseSenderBlock)onError;
84
+ - (void)getCurrentReduceTransparencyState:(RCTResponseSenderBlock)onSuccess
85
+ onError:(RCTResponseSenderBlock)onError;
86
+ - (void)getCurrentVoiceOverState:(RCTResponseSenderBlock)onSuccess
87
+ onError:(RCTResponseSenderBlock)onError;
88
+ - (void)setAccessibilityContentSizeMultipliers:(JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers &)JSMultipliers;
89
+ - (void)setAccessibilityFocus:(double)reactTag;
90
+ - (void)announceForAccessibility:(NSString *)announcement;
91
+
92
+ @end
93
+ namespace facebook {
94
+ namespace react {
95
+ /**
96
+ * ObjC++ class for module 'NativeAccessibilityManager'
97
+ */
98
+ class JSI_EXPORT NativeAccessibilityManagerSpecJSI : public ObjCTurboModule {
99
+ public:
100
+ NativeAccessibilityManagerSpecJSI(const ObjCTurboModule::InitParams &params);
101
+ };
102
+ } // namespace react
103
+ } // namespace facebook
104
+ namespace JS {
105
+ namespace NativeActionSheetManager {
106
+ struct SpecShowActionSheetWithOptionsOptions {
107
+ NSString *title() const;
108
+ NSString *message() const;
109
+ folly::Optional<facebook::react::LazyVector<NSString *>> options() const;
110
+ folly::Optional<facebook::react::LazyVector<double>> destructiveButtonIndices() const;
111
+ folly::Optional<double> cancelButtonIndex() const;
112
+ folly::Optional<double> anchor() const;
113
+ folly::Optional<double> tintColor() const;
114
+ NSString *userInterfaceStyle() const;
115
+ folly::Optional<facebook::react::LazyVector<double>> disabledButtonIndices() const;
116
+
117
+ SpecShowActionSheetWithOptionsOptions(NSDictionary *const v) : _v(v) {}
118
+ private:
119
+ NSDictionary *_v;
120
+ };
121
+ }
122
+ }
123
+
124
+ @interface RCTCxxConvert (NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions)
125
+ + (RCTManagedPointer *)JS_NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions:(id)json;
126
+ @end
127
+ namespace JS {
128
+ namespace NativeActionSheetManager {
129
+ struct SpecShowShareActionSheetWithOptionsOptions {
130
+ NSString *message() const;
131
+ NSString *url() const;
132
+ NSString *subject() const;
133
+ folly::Optional<double> anchor() const;
134
+ folly::Optional<double> tintColor() const;
135
+ folly::Optional<facebook::react::LazyVector<NSString *>> excludedActivityTypes() const;
136
+ NSString *userInterfaceStyle() const;
137
+
138
+ SpecShowShareActionSheetWithOptionsOptions(NSDictionary *const v) : _v(v) {}
139
+ private:
140
+ NSDictionary *_v;
141
+ };
142
+ }
143
+ }
144
+
145
+ @interface RCTCxxConvert (NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions)
146
+ + (RCTManagedPointer *)JS_NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions:(id)json;
147
+ @end
148
+ @protocol NativeActionSheetManagerSpec <RCTBridgeModule, RCTTurboModule>
149
+
150
+ - (void)showActionSheetWithOptions:(JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions &)options
151
+ callback:(RCTResponseSenderBlock)callback;
152
+ - (void)showShareActionSheetWithOptions:(JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions &)options
153
+ failureCallback:(RCTResponseSenderBlock)failureCallback
154
+ successCallback:(RCTResponseSenderBlock)successCallback;
155
+
156
+ @end
157
+ namespace facebook {
158
+ namespace react {
159
+ /**
160
+ * ObjC++ class for module 'NativeActionSheetManager'
161
+ */
162
+ class JSI_EXPORT NativeActionSheetManagerSpecJSI : public ObjCTurboModule {
163
+ public:
164
+ NativeActionSheetManagerSpecJSI(const ObjCTurboModule::InitParams &params);
165
+ };
166
+ } // namespace react
167
+ } // namespace facebook
168
+ namespace JS {
169
+ namespace NativeAlertManager {
170
+ struct Args {
171
+ NSString *title() const;
172
+ NSString *message() const;
173
+ folly::Optional<facebook::react::LazyVector<id<NSObject> >> buttons() const;
174
+ NSString *type() const;
175
+ NSString *defaultValue() const;
176
+ NSString *cancelButtonKey() const;
177
+ NSString *destructiveButtonKey() const;
178
+ NSString *keyboardType() const;
179
+
180
+ Args(NSDictionary *const v) : _v(v) {}
181
+ private:
182
+ NSDictionary *_v;
183
+ };
184
+ }
185
+ }
186
+
187
+ @interface RCTCxxConvert (NativeAlertManager_Args)
188
+ + (RCTManagedPointer *)JS_NativeAlertManager_Args:(id)json;
189
+ @end
190
+ @protocol NativeAlertManagerSpec <RCTBridgeModule, RCTTurboModule>
191
+
192
+ - (void)alertWithArgs:(JS::NativeAlertManager::Args &)args
193
+ callback:(RCTResponseSenderBlock)callback;
194
+
195
+ @end
196
+ namespace facebook {
197
+ namespace react {
198
+ /**
199
+ * ObjC++ class for module 'NativeAlertManager'
200
+ */
201
+ class JSI_EXPORT NativeAlertManagerSpecJSI : public ObjCTurboModule {
202
+ public:
203
+ NativeAlertManagerSpecJSI(const ObjCTurboModule::InitParams &params);
204
+ };
205
+ } // namespace react
206
+ } // namespace facebook
207
+ namespace JS {
208
+ namespace NativeAnimatedModule {
209
+ struct EventMapping {
210
+ facebook::react::LazyVector<NSString *> nativeEventPath() const;
211
+ folly::Optional<double> animatedValueTag() const;
212
+
213
+ EventMapping(NSDictionary *const v) : _v(v) {}
214
+ private:
215
+ NSDictionary *_v;
216
+ };
217
+ }
218
+ }
219
+
220
+ @interface RCTCxxConvert (NativeAnimatedModule_EventMapping)
221
+ + (RCTManagedPointer *)JS_NativeAnimatedModule_EventMapping:(id)json;
222
+ @end
223
+ @protocol NativeAnimatedModuleSpec <RCTBridgeModule, RCTTurboModule>
224
+
225
+ - (void)startOperationBatch;
226
+ - (void)finishOperationBatch;
227
+ - (void)createAnimatedNode:(double)tag
228
+ config:(NSDictionary *)config;
229
+ - (void)getValue:(double)tag
230
+ saveValueCallback:(RCTResponseSenderBlock)saveValueCallback;
231
+ - (void)startListeningToAnimatedNodeValue:(double)tag;
232
+ - (void)stopListeningToAnimatedNodeValue:(double)tag;
233
+ - (void)connectAnimatedNodes:(double)parentTag
234
+ childTag:(double)childTag;
235
+ - (void)disconnectAnimatedNodes:(double)parentTag
236
+ childTag:(double)childTag;
237
+ - (void)startAnimatingNode:(double)animationId
238
+ nodeTag:(double)nodeTag
239
+ config:(NSDictionary *)config
240
+ endCallback:(RCTResponseSenderBlock)endCallback;
241
+ - (void)stopAnimation:(double)animationId;
242
+ - (void)setAnimatedNodeValue:(double)nodeTag
243
+ value:(double)value;
244
+ - (void)setAnimatedNodeOffset:(double)nodeTag
245
+ offset:(double)offset;
246
+ - (void)flattenAnimatedNodeOffset:(double)nodeTag;
247
+ - (void)extractAnimatedNodeOffset:(double)nodeTag;
248
+ - (void)connectAnimatedNodeToView:(double)nodeTag
249
+ viewTag:(double)viewTag;
250
+ - (void)disconnectAnimatedNodeFromView:(double)nodeTag
251
+ viewTag:(double)viewTag;
252
+ - (void)restoreDefaultValues:(double)nodeTag;
253
+ - (void)dropAnimatedNode:(double)tag;
254
+ - (void)addAnimatedEventToView:(double)viewTag
255
+ eventName:(NSString *)eventName
256
+ eventMapping:(JS::NativeAnimatedModule::EventMapping &)eventMapping;
257
+ - (void)removeAnimatedEventFromView:(double)viewTag
258
+ eventName:(NSString *)eventName
259
+ animatedNodeTag:(double)animatedNodeTag;
260
+ - (void)addListener:(NSString *)eventName;
261
+ - (void)removeListeners:(double)count;
262
+
263
+ @end
264
+ namespace facebook {
265
+ namespace react {
266
+ /**
267
+ * ObjC++ class for module 'NativeAnimatedModule'
268
+ */
269
+ class JSI_EXPORT NativeAnimatedModuleSpecJSI : public ObjCTurboModule {
270
+ public:
271
+ NativeAnimatedModuleSpecJSI(const ObjCTurboModule::InitParams &params);
272
+ };
273
+ } // namespace react
274
+ } // namespace facebook
275
+ namespace JS {
276
+ namespace NativeAnimatedTurboModule {
277
+ struct EventMapping {
278
+ facebook::react::LazyVector<NSString *> nativeEventPath() const;
279
+ folly::Optional<double> animatedValueTag() const;
280
+
281
+ EventMapping(NSDictionary *const v) : _v(v) {}
282
+ private:
283
+ NSDictionary *_v;
284
+ };
285
+ }
286
+ }
287
+
288
+ @interface RCTCxxConvert (NativeAnimatedTurboModule_EventMapping)
289
+ + (RCTManagedPointer *)JS_NativeAnimatedTurboModule_EventMapping:(id)json;
290
+ @end
291
+ @protocol NativeAnimatedTurboModuleSpec <RCTBridgeModule, RCTTurboModule>
292
+
293
+ - (void)startOperationBatch;
294
+ - (void)finishOperationBatch;
295
+ - (void)createAnimatedNode:(double)tag
296
+ config:(NSDictionary *)config;
297
+ - (void)getValue:(double)tag
298
+ saveValueCallback:(RCTResponseSenderBlock)saveValueCallback;
299
+ - (void)startListeningToAnimatedNodeValue:(double)tag;
300
+ - (void)stopListeningToAnimatedNodeValue:(double)tag;
301
+ - (void)connectAnimatedNodes:(double)parentTag
302
+ childTag:(double)childTag;
303
+ - (void)disconnectAnimatedNodes:(double)parentTag
304
+ childTag:(double)childTag;
305
+ - (void)startAnimatingNode:(double)animationId
306
+ nodeTag:(double)nodeTag
307
+ config:(NSDictionary *)config
308
+ endCallback:(RCTResponseSenderBlock)endCallback;
309
+ - (void)stopAnimation:(double)animationId;
310
+ - (void)setAnimatedNodeValue:(double)nodeTag
311
+ value:(double)value;
312
+ - (void)setAnimatedNodeOffset:(double)nodeTag
313
+ offset:(double)offset;
314
+ - (void)flattenAnimatedNodeOffset:(double)nodeTag;
315
+ - (void)extractAnimatedNodeOffset:(double)nodeTag;
316
+ - (void)connectAnimatedNodeToView:(double)nodeTag
317
+ viewTag:(double)viewTag;
318
+ - (void)disconnectAnimatedNodeFromView:(double)nodeTag
319
+ viewTag:(double)viewTag;
320
+ - (void)restoreDefaultValues:(double)nodeTag;
321
+ - (void)dropAnimatedNode:(double)tag;
322
+ - (void)addAnimatedEventToView:(double)viewTag
323
+ eventName:(NSString *)eventName
324
+ eventMapping:(JS::NativeAnimatedTurboModule::EventMapping &)eventMapping;
325
+ - (void)removeAnimatedEventFromView:(double)viewTag
326
+ eventName:(NSString *)eventName
327
+ animatedNodeTag:(double)animatedNodeTag;
328
+ - (void)addListener:(NSString *)eventName;
329
+ - (void)removeListeners:(double)count;
330
+
331
+ @end
332
+ namespace facebook {
333
+ namespace react {
334
+ /**
335
+ * ObjC++ class for module 'NativeAnimatedTurboModule'
336
+ */
337
+ class JSI_EXPORT NativeAnimatedTurboModuleSpecJSI : public ObjCTurboModule {
338
+ public:
339
+ NativeAnimatedTurboModuleSpecJSI(const ObjCTurboModule::InitParams &params);
340
+ };
341
+ } // namespace react
342
+ } // namespace facebook
343
+
344
+ @protocol NativeAnimationsDebugModuleSpec <RCTBridgeModule, RCTTurboModule>
345
+
346
+ - (void)startRecordingFps;
347
+ - (void)stopRecordingFps:(double)animationStopTimeMs;
348
+
349
+ @end
350
+ namespace facebook {
351
+ namespace react {
352
+ /**
353
+ * ObjC++ class for module 'NativeAnimationsDebugModule'
354
+ */
355
+ class JSI_EXPORT NativeAnimationsDebugModuleSpecJSI : public ObjCTurboModule {
356
+ public:
357
+ NativeAnimationsDebugModuleSpecJSI(const ObjCTurboModule::InitParams &params);
358
+ };
359
+ } // namespace react
360
+ } // namespace facebook
361
+ namespace JS {
362
+ namespace NativeAppState {
363
+ struct Constants {
364
+
365
+ struct Builder {
366
+ struct Input {
367
+ RCTRequired<NSString *> initialAppState;
368
+ };
369
+
370
+ /** Initialize with a set of values */
371
+ Builder(const Input i);
372
+ /** Initialize with an existing Constants */
373
+ Builder(Constants i);
374
+ /** Builds the object. Generally used only by the infrastructure. */
375
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
376
+ private:
377
+ NSDictionary *(^_factory)(void);
378
+ };
379
+
380
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
381
+ NSDictionary *unsafeRawValue() const { return _v; }
382
+ private:
383
+ Constants(NSDictionary *const v) : _v(v) {}
384
+ NSDictionary *_v;
385
+ };
386
+ }
387
+ }
388
+ @protocol NativeAppStateSpec <RCTBridgeModule, RCTTurboModule>
389
+
390
+ - (void)getCurrentAppState:(RCTResponseSenderBlock)success
391
+ error:(RCTResponseSenderBlock)error;
392
+ - (void)addListener:(NSString *)eventName;
393
+ - (void)removeListeners:(double)count;
394
+ - (facebook::react::ModuleConstants<JS::NativeAppState::Constants::Builder>)constantsToExport;
395
+ - (facebook::react::ModuleConstants<JS::NativeAppState::Constants::Builder>)getConstants;
396
+
397
+ @end
398
+ namespace facebook {
399
+ namespace react {
400
+ /**
401
+ * ObjC++ class for module 'NativeAppState'
402
+ */
403
+ class JSI_EXPORT NativeAppStateSpecJSI : public ObjCTurboModule {
404
+ public:
405
+ NativeAppStateSpecJSI(const ObjCTurboModule::InitParams &params);
406
+ };
407
+ } // namespace react
408
+ } // namespace facebook
409
+
410
+ @protocol NativeAppearanceSpec <RCTBridgeModule, RCTTurboModule>
411
+
412
+ - (NSString * _Nullable)getColorScheme;
413
+ - (void)addListener:(NSString *)eventName;
414
+ - (void)removeListeners:(double)count;
415
+
416
+ @end
417
+ namespace facebook {
418
+ namespace react {
419
+ /**
420
+ * ObjC++ class for module 'NativeAppearance'
421
+ */
422
+ class JSI_EXPORT NativeAppearanceSpecJSI : public ObjCTurboModule {
423
+ public:
424
+ NativeAppearanceSpecJSI(const ObjCTurboModule::InitParams &params);
425
+ };
426
+ } // namespace react
427
+ } // namespace facebook
428
+
429
+ @protocol NativeAsyncLocalStorageSpec <RCTBridgeModule, RCTTurboModule>
430
+
431
+ - (void)multiGet:(NSArray *)keys
432
+ callback:(RCTResponseSenderBlock)callback;
433
+ - (void)multiSet:(NSArray *)kvPairs
434
+ callback:(RCTResponseSenderBlock)callback;
435
+ - (void)multiMerge:(NSArray *)kvPairs
436
+ callback:(RCTResponseSenderBlock)callback;
437
+ - (void)multiRemove:(NSArray *)keys
438
+ callback:(RCTResponseSenderBlock)callback;
439
+ - (void)clear:(RCTResponseSenderBlock)callback;
440
+ - (void)getAllKeys:(RCTResponseSenderBlock)callback;
441
+
442
+ @end
443
+ namespace facebook {
444
+ namespace react {
445
+ /**
446
+ * ObjC++ class for module 'NativeAsyncLocalStorage'
447
+ */
448
+ class JSI_EXPORT NativeAsyncLocalStorageSpecJSI : public ObjCTurboModule {
449
+ public:
450
+ NativeAsyncLocalStorageSpecJSI(const ObjCTurboModule::InitParams &params);
451
+ };
452
+ } // namespace react
453
+ } // namespace facebook
454
+
455
+ @protocol NativeAsyncSQLiteDBStorageSpec <RCTBridgeModule, RCTTurboModule>
456
+
457
+ - (void)multiGet:(NSArray *)keys
458
+ callback:(RCTResponseSenderBlock)callback;
459
+ - (void)multiSet:(NSArray *)kvPairs
460
+ callback:(RCTResponseSenderBlock)callback;
461
+ - (void)multiMerge:(NSArray *)kvPairs
462
+ callback:(RCTResponseSenderBlock)callback;
463
+ - (void)multiRemove:(NSArray *)keys
464
+ callback:(RCTResponseSenderBlock)callback;
465
+ - (void)clear:(RCTResponseSenderBlock)callback;
466
+ - (void)getAllKeys:(RCTResponseSenderBlock)callback;
467
+
468
+ @end
469
+ namespace facebook {
470
+ namespace react {
471
+ /**
472
+ * ObjC++ class for module 'NativeAsyncSQLiteDBStorage'
473
+ */
474
+ class JSI_EXPORT NativeAsyncSQLiteDBStorageSpecJSI : public ObjCTurboModule {
475
+ public:
476
+ NativeAsyncSQLiteDBStorageSpecJSI(const ObjCTurboModule::InitParams &params);
477
+ };
478
+ } // namespace react
479
+ } // namespace facebook
480
+ namespace JS {
481
+ namespace NativeBlobModule {
482
+ struct Constants {
483
+
484
+ struct Builder {
485
+ struct Input {
486
+ RCTRequired<NSString *> BLOB_URI_SCHEME;
487
+ RCTRequired<NSString *> BLOB_URI_HOST;
488
+ };
489
+
490
+ /** Initialize with a set of values */
491
+ Builder(const Input i);
492
+ /** Initialize with an existing Constants */
493
+ Builder(Constants i);
494
+ /** Builds the object. Generally used only by the infrastructure. */
495
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
496
+ private:
497
+ NSDictionary *(^_factory)(void);
498
+ };
499
+
500
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
501
+ NSDictionary *unsafeRawValue() const { return _v; }
502
+ private:
503
+ Constants(NSDictionary *const v) : _v(v) {}
504
+ NSDictionary *_v;
505
+ };
506
+ }
507
+ }
508
+ @protocol NativeBlobModuleSpec <RCTBridgeModule, RCTTurboModule>
509
+
510
+ - (void)addNetworkingHandler;
511
+ - (void)addWebSocketHandler:(double)id;
512
+ - (void)removeWebSocketHandler:(double)id;
513
+ - (void)sendOverSocket:(NSDictionary *)blob
514
+ socketID:(double)socketID;
515
+ - (void)createFromParts:(NSArray *)parts
516
+ withId:(NSString *)withId;
517
+ - (void)release:(NSString *)blobId;
518
+ - (facebook::react::ModuleConstants<JS::NativeBlobModule::Constants::Builder>)constantsToExport;
519
+ - (facebook::react::ModuleConstants<JS::NativeBlobModule::Constants::Builder>)getConstants;
520
+
521
+ @end
522
+ namespace facebook {
523
+ namespace react {
524
+ /**
525
+ * ObjC++ class for module 'NativeBlobModule'
526
+ */
527
+ class JSI_EXPORT NativeBlobModuleSpecJSI : public ObjCTurboModule {
528
+ public:
529
+ NativeBlobModuleSpecJSI(const ObjCTurboModule::InitParams &params);
530
+ };
531
+ } // namespace react
532
+ } // namespace facebook
533
+
534
+ @protocol NativeBugReportingSpec <RCTBridgeModule, RCTTurboModule>
535
+
536
+ - (void)startReportAProblemFlow;
537
+ - (void)setExtraData:(NSDictionary *)extraData
538
+ extraFiles:(NSDictionary *)extraFiles;
539
+ - (void)setCategoryID:(NSString *)categoryID;
540
+
541
+ @end
542
+ namespace facebook {
543
+ namespace react {
544
+ /**
545
+ * ObjC++ class for module 'NativeBugReporting'
546
+ */
547
+ class JSI_EXPORT NativeBugReportingSpecJSI : public ObjCTurboModule {
548
+ public:
549
+ NativeBugReportingSpecJSI(const ObjCTurboModule::InitParams &params);
550
+ };
551
+ } // namespace react
552
+ } // namespace facebook
553
+
554
+ @protocol NativeClipboardSpec <RCTBridgeModule, RCTTurboModule>
555
+
556
+ - (void)getString:(RCTPromiseResolveBlock)resolve
557
+ reject:(RCTPromiseRejectBlock)reject;
558
+ - (void)setString:(NSString *)content;
559
+
560
+ @end
561
+ namespace facebook {
562
+ namespace react {
563
+ /**
564
+ * ObjC++ class for module 'NativeClipboard'
565
+ */
566
+ class JSI_EXPORT NativeClipboardSpecJSI : public ObjCTurboModule {
567
+ public:
568
+ NativeClipboardSpecJSI(const ObjCTurboModule::InitParams &params);
569
+ };
570
+ } // namespace react
571
+ } // namespace facebook
572
+
573
+ @protocol NativeDevLoadingViewSpec <RCTBridgeModule, RCTTurboModule>
574
+
575
+ - (void)showMessage:(NSString *)message
576
+ withColor:(NSNumber *)withColor
577
+ withBackgroundColor:(NSNumber *)withBackgroundColor;
578
+ - (void)hide;
579
+
580
+ @end
581
+ namespace facebook {
582
+ namespace react {
583
+ /**
584
+ * ObjC++ class for module 'NativeDevLoadingView'
585
+ */
586
+ class JSI_EXPORT NativeDevLoadingViewSpecJSI : public ObjCTurboModule {
587
+ public:
588
+ NativeDevLoadingViewSpecJSI(const ObjCTurboModule::InitParams &params);
589
+ };
590
+ } // namespace react
591
+ } // namespace facebook
592
+
593
+ @protocol NativeDevMenuSpec <RCTBridgeModule, RCTTurboModule>
594
+
595
+ - (void)show;
596
+ - (void)reload;
597
+ - (void)debugRemotely:(BOOL)enableDebug;
598
+ - (void)setProfilingEnabled:(BOOL)enabled;
599
+ - (void)setHotLoadingEnabled:(BOOL)enabled;
600
+
601
+ @end
602
+ namespace facebook {
603
+ namespace react {
604
+ /**
605
+ * ObjC++ class for module 'NativeDevMenu'
606
+ */
607
+ class JSI_EXPORT NativeDevMenuSpecJSI : public ObjCTurboModule {
608
+ public:
609
+ NativeDevMenuSpecJSI(const ObjCTurboModule::InitParams &params);
610
+ };
611
+ } // namespace react
612
+ } // namespace facebook
613
+
614
+ @protocol NativeDevSettingsSpec <RCTBridgeModule, RCTTurboModule>
615
+
616
+ - (void)reload;
617
+ - (void)reloadWithReason:(NSString *)reason;
618
+ - (void)onFastRefresh;
619
+ - (void)setHotLoadingEnabled:(BOOL)isHotLoadingEnabled;
620
+ - (void)setIsDebuggingRemotely:(BOOL)isDebuggingRemotelyEnabled;
621
+ - (void)setProfilingEnabled:(BOOL)isProfilingEnabled;
622
+ - (void)toggleElementInspector;
623
+ - (void)addMenuItem:(NSString *)title;
624
+ - (void)addListener:(NSString *)eventName;
625
+ - (void)removeListeners:(double)count;
626
+ - (void)setIsShakeToShowDevMenuEnabled:(BOOL)enabled;
627
+
628
+ @end
629
+ namespace facebook {
630
+ namespace react {
631
+ /**
632
+ * ObjC++ class for module 'NativeDevSettings'
633
+ */
634
+ class JSI_EXPORT NativeDevSettingsSpecJSI : public ObjCTurboModule {
635
+ public:
636
+ NativeDevSettingsSpecJSI(const ObjCTurboModule::InitParams &params);
637
+ };
638
+ } // namespace react
639
+ } // namespace facebook
640
+
641
+ @protocol NativeDevSplitBundleLoaderSpec <RCTBridgeModule, RCTTurboModule>
642
+
643
+ - (void)loadBundle:(NSString *)bundlePath
644
+ resolve:(RCTPromiseResolveBlock)resolve
645
+ reject:(RCTPromiseRejectBlock)reject;
646
+
647
+ @end
648
+ namespace facebook {
649
+ namespace react {
650
+ /**
651
+ * ObjC++ class for module 'NativeDevSplitBundleLoader'
652
+ */
653
+ class JSI_EXPORT NativeDevSplitBundleLoaderSpecJSI : public ObjCTurboModule {
654
+ public:
655
+ NativeDevSplitBundleLoaderSpecJSI(const ObjCTurboModule::InitParams &params);
656
+ };
657
+ } // namespace react
658
+ } // namespace facebook
659
+
660
+ @protocol NativeDeviceEventManagerSpec <RCTBridgeModule, RCTTurboModule>
661
+
662
+ - (void)invokeDefaultBackPressHandler;
663
+
664
+ @end
665
+ namespace facebook {
666
+ namespace react {
667
+ /**
668
+ * ObjC++ class for module 'NativeDeviceEventManager'
669
+ */
670
+ class JSI_EXPORT NativeDeviceEventManagerSpecJSI : public ObjCTurboModule {
671
+ public:
672
+ NativeDeviceEventManagerSpecJSI(const ObjCTurboModule::InitParams &params);
673
+ };
674
+ } // namespace react
675
+ } // namespace facebook
676
+ namespace JS {
677
+ namespace NativeDeviceInfo {
678
+ struct DisplayMetrics {
679
+
680
+ struct Builder {
681
+ struct Input {
682
+ RCTRequired<double> width;
683
+ RCTRequired<double> height;
684
+ RCTRequired<double> scale;
685
+ RCTRequired<double> fontScale;
686
+ };
687
+
688
+ /** Initialize with a set of values */
689
+ Builder(const Input i);
690
+ /** Initialize with an existing DisplayMetrics */
691
+ Builder(DisplayMetrics i);
692
+ /** Builds the object. Generally used only by the infrastructure. */
693
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
694
+ private:
695
+ NSDictionary *(^_factory)(void);
696
+ };
697
+
698
+ static DisplayMetrics fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
699
+ NSDictionary *unsafeRawValue() const { return _v; }
700
+ private:
701
+ DisplayMetrics(NSDictionary *const v) : _v(v) {}
702
+ NSDictionary *_v;
703
+ };
704
+ }
705
+ }
706
+ namespace JS {
707
+ namespace NativeDeviceInfo {
708
+ struct DisplayMetricsAndroid {
709
+
710
+ struct Builder {
711
+ struct Input {
712
+ RCTRequired<double> width;
713
+ RCTRequired<double> height;
714
+ RCTRequired<double> scale;
715
+ RCTRequired<double> fontScale;
716
+ RCTRequired<double> densityDpi;
717
+ };
718
+
719
+ /** Initialize with a set of values */
720
+ Builder(const Input i);
721
+ /** Initialize with an existing DisplayMetricsAndroid */
722
+ Builder(DisplayMetricsAndroid i);
723
+ /** Builds the object. Generally used only by the infrastructure. */
724
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
725
+ private:
726
+ NSDictionary *(^_factory)(void);
727
+ };
728
+
729
+ static DisplayMetricsAndroid fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
730
+ NSDictionary *unsafeRawValue() const { return _v; }
731
+ private:
732
+ DisplayMetricsAndroid(NSDictionary *const v) : _v(v) {}
733
+ NSDictionary *_v;
734
+ };
735
+ }
736
+ }
737
+ namespace JS {
738
+ namespace NativeDeviceInfo {
739
+ struct DimensionsPayload {
740
+
741
+ struct Builder {
742
+ struct Input {
743
+ folly::Optional<JS::NativeDeviceInfo::DisplayMetrics::Builder> window;
744
+ folly::Optional<JS::NativeDeviceInfo::DisplayMetrics::Builder> screen;
745
+ folly::Optional<JS::NativeDeviceInfo::DisplayMetricsAndroid::Builder> windowPhysicalPixels;
746
+ folly::Optional<JS::NativeDeviceInfo::DisplayMetricsAndroid::Builder> screenPhysicalPixels;
747
+ };
748
+
749
+ /** Initialize with a set of values */
750
+ Builder(const Input i);
751
+ /** Initialize with an existing DimensionsPayload */
752
+ Builder(DimensionsPayload i);
753
+ /** Builds the object. Generally used only by the infrastructure. */
754
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
755
+ private:
756
+ NSDictionary *(^_factory)(void);
757
+ };
758
+
759
+ static DimensionsPayload fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
760
+ NSDictionary *unsafeRawValue() const { return _v; }
761
+ private:
762
+ DimensionsPayload(NSDictionary *const v) : _v(v) {}
763
+ NSDictionary *_v;
764
+ };
765
+ }
766
+ }
767
+ namespace JS {
768
+ namespace NativeDeviceInfo {
769
+ struct Constants {
770
+
771
+ struct Builder {
772
+ struct Input {
773
+ RCTRequired<JS::NativeDeviceInfo::DimensionsPayload::Builder> Dimensions;
774
+ folly::Optional<bool> isIPhoneX_deprecated;
775
+ };
776
+
777
+ /** Initialize with a set of values */
778
+ Builder(const Input i);
779
+ /** Initialize with an existing Constants */
780
+ Builder(Constants i);
781
+ /** Builds the object. Generally used only by the infrastructure. */
782
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
783
+ private:
784
+ NSDictionary *(^_factory)(void);
785
+ };
786
+
787
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
788
+ NSDictionary *unsafeRawValue() const { return _v; }
789
+ private:
790
+ Constants(NSDictionary *const v) : _v(v) {}
791
+ NSDictionary *_v;
792
+ };
793
+ }
794
+ }
795
+ @protocol NativeDeviceInfoSpec <RCTBridgeModule, RCTTurboModule>
796
+
797
+ - (facebook::react::ModuleConstants<JS::NativeDeviceInfo::Constants::Builder>)constantsToExport;
798
+ - (facebook::react::ModuleConstants<JS::NativeDeviceInfo::Constants::Builder>)getConstants;
799
+
800
+ @end
801
+ namespace facebook {
802
+ namespace react {
803
+ /**
804
+ * ObjC++ class for module 'NativeDeviceInfo'
805
+ */
806
+ class JSI_EXPORT NativeDeviceInfoSpecJSI : public ObjCTurboModule {
807
+ public:
808
+ NativeDeviceInfoSpecJSI(const ObjCTurboModule::InitParams &params);
809
+ };
810
+ } // namespace react
811
+ } // namespace facebook
812
+ namespace JS {
813
+ namespace NativeExceptionsManager {
814
+ struct StackFrame {
815
+ folly::Optional<double> column() const;
816
+ NSString *file() const;
817
+ folly::Optional<double> lineNumber() const;
818
+ NSString *methodName() const;
819
+ folly::Optional<bool> collapse() const;
820
+
821
+ StackFrame(NSDictionary *const v) : _v(v) {}
822
+ private:
823
+ NSDictionary *_v;
824
+ };
825
+ }
826
+ }
827
+
828
+ @interface RCTCxxConvert (NativeExceptionsManager_StackFrame)
829
+ + (RCTManagedPointer *)JS_NativeExceptionsManager_StackFrame:(id)json;
830
+ @end
831
+ namespace JS {
832
+ namespace NativeExceptionsManager {
833
+ struct ExceptionData {
834
+ NSString *message() const;
835
+ NSString *originalMessage() const;
836
+ NSString *name() const;
837
+ NSString *componentStack() const;
838
+ facebook::react::LazyVector<JS::NativeExceptionsManager::StackFrame> stack() const;
839
+ double id_() const;
840
+ bool isFatal() const;
841
+ id<NSObject> _Nullable extraData() const;
842
+
843
+ ExceptionData(NSDictionary *const v) : _v(v) {}
844
+ private:
845
+ NSDictionary *_v;
846
+ };
847
+ }
848
+ }
849
+
850
+ @interface RCTCxxConvert (NativeExceptionsManager_ExceptionData)
851
+ + (RCTManagedPointer *)JS_NativeExceptionsManager_ExceptionData:(id)json;
852
+ @end
853
+ @protocol NativeExceptionsManagerSpec <RCTBridgeModule, RCTTurboModule>
854
+
855
+ - (void)reportFatalException:(NSString *)message
856
+ stack:(NSArray *)stack
857
+ exceptionId:(double)exceptionId;
858
+ - (void)reportSoftException:(NSString *)message
859
+ stack:(NSArray *)stack
860
+ exceptionId:(double)exceptionId;
861
+ - (void)reportException:(JS::NativeExceptionsManager::ExceptionData &)data;
862
+ - (void)updateExceptionMessage:(NSString *)message
863
+ stack:(NSArray *)stack
864
+ exceptionId:(double)exceptionId;
865
+ - (void)dismissRedbox;
866
+
867
+ @end
868
+ namespace facebook {
869
+ namespace react {
870
+ /**
871
+ * ObjC++ class for module 'NativeExceptionsManager'
872
+ */
873
+ class JSI_EXPORT NativeExceptionsManagerSpecJSI : public ObjCTurboModule {
874
+ public:
875
+ NativeExceptionsManagerSpecJSI(const ObjCTurboModule::InitParams &params);
876
+ };
877
+ } // namespace react
878
+ } // namespace facebook
879
+
880
+ @protocol NativeFileReaderModuleSpec <RCTBridgeModule, RCTTurboModule>
881
+
882
+ - (void)readAsDataURL:(NSDictionary *)data
883
+ resolve:(RCTPromiseResolveBlock)resolve
884
+ reject:(RCTPromiseRejectBlock)reject;
885
+ - (void)readAsText:(NSDictionary *)data
886
+ encoding:(NSString *)encoding
887
+ resolve:(RCTPromiseResolveBlock)resolve
888
+ reject:(RCTPromiseRejectBlock)reject;
889
+
890
+ @end
891
+ namespace facebook {
892
+ namespace react {
893
+ /**
894
+ * ObjC++ class for module 'NativeFileReaderModule'
895
+ */
896
+ class JSI_EXPORT NativeFileReaderModuleSpecJSI : public ObjCTurboModule {
897
+ public:
898
+ NativeFileReaderModuleSpecJSI(const ObjCTurboModule::InitParams &params);
899
+ };
900
+ } // namespace react
901
+ } // namespace facebook
902
+ namespace JS {
903
+ namespace NativeFrameRateLogger {
904
+ struct SpecSetGlobalOptionsOptions {
905
+ folly::Optional<bool> debug() const;
906
+ folly::Optional<bool> reportStackTraces() const;
907
+
908
+ SpecSetGlobalOptionsOptions(NSDictionary *const v) : _v(v) {}
909
+ private:
910
+ NSDictionary *_v;
911
+ };
912
+ }
913
+ }
914
+
915
+ @interface RCTCxxConvert (NativeFrameRateLogger_SpecSetGlobalOptionsOptions)
916
+ + (RCTManagedPointer *)JS_NativeFrameRateLogger_SpecSetGlobalOptionsOptions:(id)json;
917
+ @end
918
+ @protocol NativeFrameRateLoggerSpec <RCTBridgeModule, RCTTurboModule>
919
+
920
+ - (void)setGlobalOptions:(JS::NativeFrameRateLogger::SpecSetGlobalOptionsOptions &)options;
921
+ - (void)setContext:(NSString *)context;
922
+ - (void)beginScroll;
923
+ - (void)endScroll;
924
+
925
+ @end
926
+ namespace facebook {
927
+ namespace react {
928
+ /**
929
+ * ObjC++ class for module 'NativeFrameRateLogger'
930
+ */
931
+ class JSI_EXPORT NativeFrameRateLoggerSpecJSI : public ObjCTurboModule {
932
+ public:
933
+ NativeFrameRateLoggerSpecJSI(const ObjCTurboModule::InitParams &params);
934
+ };
935
+ } // namespace react
936
+ } // namespace facebook
937
+
938
+ @protocol NativeHeadlessJsTaskSupportSpec <RCTBridgeModule, RCTTurboModule>
939
+
940
+ - (void)notifyTaskFinished:(double)taskId;
941
+ - (void)notifyTaskRetry:(double)taskId
942
+ resolve:(RCTPromiseResolveBlock)resolve
943
+ reject:(RCTPromiseRejectBlock)reject;
944
+
945
+ @end
946
+ namespace facebook {
947
+ namespace react {
948
+ /**
949
+ * ObjC++ class for module 'NativeHeadlessJsTaskSupport'
950
+ */
951
+ class JSI_EXPORT NativeHeadlessJsTaskSupportSpecJSI : public ObjCTurboModule {
952
+ public:
953
+ NativeHeadlessJsTaskSupportSpecJSI(const ObjCTurboModule::InitParams &params);
954
+ };
955
+ } // namespace react
956
+ } // namespace facebook
957
+ namespace JS {
958
+ namespace NativeI18nManager {
959
+ struct Constants {
960
+
961
+ struct Builder {
962
+ struct Input {
963
+ RCTRequired<bool> isRTL;
964
+ RCTRequired<bool> doLeftAndRightSwapInRTL;
965
+ };
966
+
967
+ /** Initialize with a set of values */
968
+ Builder(const Input i);
969
+ /** Initialize with an existing Constants */
970
+ Builder(Constants i);
971
+ /** Builds the object. Generally used only by the infrastructure. */
972
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
973
+ private:
974
+ NSDictionary *(^_factory)(void);
975
+ };
976
+
977
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
978
+ NSDictionary *unsafeRawValue() const { return _v; }
979
+ private:
980
+ Constants(NSDictionary *const v) : _v(v) {}
981
+ NSDictionary *_v;
982
+ };
983
+ }
984
+ }
985
+ @protocol NativeI18nManagerSpec <RCTBridgeModule, RCTTurboModule>
986
+
987
+ - (void)allowRTL:(BOOL)allowRTL;
988
+ - (void)forceRTL:(BOOL)forceRTL;
989
+ - (void)swapLeftAndRightInRTL:(BOOL)flipStyles;
990
+ - (facebook::react::ModuleConstants<JS::NativeI18nManager::Constants::Builder>)constantsToExport;
991
+ - (facebook::react::ModuleConstants<JS::NativeI18nManager::Constants::Builder>)getConstants;
992
+
993
+ @end
994
+ namespace facebook {
995
+ namespace react {
996
+ /**
997
+ * ObjC++ class for module 'NativeI18nManager'
998
+ */
999
+ class JSI_EXPORT NativeI18nManagerSpecJSI : public ObjCTurboModule {
1000
+ public:
1001
+ NativeI18nManagerSpecJSI(const ObjCTurboModule::InitParams &params);
1002
+ };
1003
+ } // namespace react
1004
+ } // namespace facebook
1005
+ namespace JS {
1006
+ namespace NativeImageEditor {
1007
+ struct OptionsOffset {
1008
+ double x() const;
1009
+ double y() const;
1010
+
1011
+ OptionsOffset(NSDictionary *const v) : _v(v) {}
1012
+ private:
1013
+ NSDictionary *_v;
1014
+ };
1015
+ }
1016
+ }
1017
+
1018
+ @interface RCTCxxConvert (NativeImageEditor_OptionsOffset)
1019
+ + (RCTManagedPointer *)JS_NativeImageEditor_OptionsOffset:(id)json;
1020
+ @end
1021
+ namespace JS {
1022
+ namespace NativeImageEditor {
1023
+ struct OptionsSize {
1024
+ double width() const;
1025
+ double height() const;
1026
+
1027
+ OptionsSize(NSDictionary *const v) : _v(v) {}
1028
+ private:
1029
+ NSDictionary *_v;
1030
+ };
1031
+ }
1032
+ }
1033
+
1034
+ @interface RCTCxxConvert (NativeImageEditor_OptionsSize)
1035
+ + (RCTManagedPointer *)JS_NativeImageEditor_OptionsSize:(id)json;
1036
+ @end
1037
+ namespace JS {
1038
+ namespace NativeImageEditor {
1039
+ struct OptionsDisplaySize {
1040
+ double width() const;
1041
+ double height() const;
1042
+
1043
+ OptionsDisplaySize(NSDictionary *const v) : _v(v) {}
1044
+ private:
1045
+ NSDictionary *_v;
1046
+ };
1047
+ }
1048
+ }
1049
+
1050
+ @interface RCTCxxConvert (NativeImageEditor_OptionsDisplaySize)
1051
+ + (RCTManagedPointer *)JS_NativeImageEditor_OptionsDisplaySize:(id)json;
1052
+ @end
1053
+ namespace JS {
1054
+ namespace NativeImageEditor {
1055
+ struct Options {
1056
+ JS::NativeImageEditor::OptionsOffset offset() const;
1057
+ JS::NativeImageEditor::OptionsSize size() const;
1058
+ folly::Optional<JS::NativeImageEditor::OptionsDisplaySize> displaySize() const;
1059
+ NSString *resizeMode() const;
1060
+ folly::Optional<bool> allowExternalStorage() const;
1061
+
1062
+ Options(NSDictionary *const v) : _v(v) {}
1063
+ private:
1064
+ NSDictionary *_v;
1065
+ };
1066
+ }
1067
+ }
1068
+
1069
+ @interface RCTCxxConvert (NativeImageEditor_Options)
1070
+ + (RCTManagedPointer *)JS_NativeImageEditor_Options:(id)json;
1071
+ @end
1072
+ @protocol NativeImageEditorSpec <RCTBridgeModule, RCTTurboModule>
1073
+
1074
+ - (void)cropImage:(NSString *)uri
1075
+ cropData:(JS::NativeImageEditor::Options &)cropData
1076
+ successCallback:(RCTResponseSenderBlock)successCallback
1077
+ errorCallback:(RCTResponseSenderBlock)errorCallback;
1078
+
1079
+ @end
1080
+ namespace facebook {
1081
+ namespace react {
1082
+ /**
1083
+ * ObjC++ class for module 'NativeImageEditor'
1084
+ */
1085
+ class JSI_EXPORT NativeImageEditorSpecJSI : public ObjCTurboModule {
1086
+ public:
1087
+ NativeImageEditorSpecJSI(const ObjCTurboModule::InitParams &params);
1088
+ };
1089
+ } // namespace react
1090
+ } // namespace facebook
1091
+
1092
+ @protocol NativeImageLoaderIOSSpec <RCTBridgeModule, RCTTurboModule>
1093
+
1094
+ - (void)getSize:(NSString *)uri
1095
+ resolve:(RCTPromiseResolveBlock)resolve
1096
+ reject:(RCTPromiseRejectBlock)reject;
1097
+ - (void)getSizeWithHeaders:(NSString *)uri
1098
+ headers:(NSDictionary *)headers
1099
+ resolve:(RCTPromiseResolveBlock)resolve
1100
+ reject:(RCTPromiseRejectBlock)reject;
1101
+ - (void)prefetchImage:(NSString *)uri
1102
+ resolve:(RCTPromiseResolveBlock)resolve
1103
+ reject:(RCTPromiseRejectBlock)reject;
1104
+ - (void)queryCache:(NSArray *)uris
1105
+ resolve:(RCTPromiseResolveBlock)resolve
1106
+ reject:(RCTPromiseRejectBlock)reject;
1107
+
1108
+ @end
1109
+ namespace facebook {
1110
+ namespace react {
1111
+ /**
1112
+ * ObjC++ class for module 'NativeImageLoaderIOS'
1113
+ */
1114
+ class JSI_EXPORT NativeImageLoaderIOSSpecJSI : public ObjCTurboModule {
1115
+ public:
1116
+ NativeImageLoaderIOSSpecJSI(const ObjCTurboModule::InitParams &params);
1117
+ };
1118
+ } // namespace react
1119
+ } // namespace facebook
1120
+ namespace JS {
1121
+ namespace NativeImagePickerIOS {
1122
+ struct SpecOpenCameraDialogConfig {
1123
+ bool unmirrorFrontFacingCamera() const;
1124
+ bool videoMode() const;
1125
+
1126
+ SpecOpenCameraDialogConfig(NSDictionary *const v) : _v(v) {}
1127
+ private:
1128
+ NSDictionary *_v;
1129
+ };
1130
+ }
1131
+ }
1132
+
1133
+ @interface RCTCxxConvert (NativeImagePickerIOS_SpecOpenCameraDialogConfig)
1134
+ + (RCTManagedPointer *)JS_NativeImagePickerIOS_SpecOpenCameraDialogConfig:(id)json;
1135
+ @end
1136
+ namespace JS {
1137
+ namespace NativeImagePickerIOS {
1138
+ struct SpecOpenSelectDialogConfig {
1139
+ bool showImages() const;
1140
+ bool showVideos() const;
1141
+
1142
+ SpecOpenSelectDialogConfig(NSDictionary *const v) : _v(v) {}
1143
+ private:
1144
+ NSDictionary *_v;
1145
+ };
1146
+ }
1147
+ }
1148
+
1149
+ @interface RCTCxxConvert (NativeImagePickerIOS_SpecOpenSelectDialogConfig)
1150
+ + (RCTManagedPointer *)JS_NativeImagePickerIOS_SpecOpenSelectDialogConfig:(id)json;
1151
+ @end
1152
+ @protocol NativeImagePickerIOSSpec <RCTBridgeModule, RCTTurboModule>
1153
+
1154
+ - (void)canRecordVideos:(RCTResponseSenderBlock)callback;
1155
+ - (void)canUseCamera:(RCTResponseSenderBlock)callback;
1156
+ - (void)openCameraDialog:(JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig &)config
1157
+ successCallback:(RCTResponseSenderBlock)successCallback
1158
+ cancelCallback:(RCTResponseSenderBlock)cancelCallback;
1159
+ - (void)openSelectDialog:(JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig &)config
1160
+ successCallback:(RCTResponseSenderBlock)successCallback
1161
+ cancelCallback:(RCTResponseSenderBlock)cancelCallback;
1162
+ - (void)clearAllPendingVideos;
1163
+ - (void)removePendingVideo:(NSString *)url;
1164
+
1165
+ @end
1166
+ namespace facebook {
1167
+ namespace react {
1168
+ /**
1169
+ * ObjC++ class for module 'NativeImagePickerIOS'
1170
+ */
1171
+ class JSI_EXPORT NativeImagePickerIOSSpecJSI : public ObjCTurboModule {
1172
+ public:
1173
+ NativeImagePickerIOSSpecJSI(const ObjCTurboModule::InitParams &params);
1174
+ };
1175
+ } // namespace react
1176
+ } // namespace facebook
1177
+
1178
+ @protocol NativeImageStoreIOSSpec <RCTBridgeModule, RCTTurboModule>
1179
+
1180
+ - (void)getBase64ForTag:(NSString *)uri
1181
+ successCallback:(RCTResponseSenderBlock)successCallback
1182
+ errorCallback:(RCTResponseSenderBlock)errorCallback;
1183
+ - (void)hasImageForTag:(NSString *)uri
1184
+ callback:(RCTResponseSenderBlock)callback;
1185
+ - (void)removeImageForTag:(NSString *)uri;
1186
+ - (void)addImageFromBase64:(NSString *)base64ImageData
1187
+ successCallback:(RCTResponseSenderBlock)successCallback
1188
+ errorCallback:(RCTResponseSenderBlock)errorCallback;
1189
+
1190
+ @end
1191
+ namespace facebook {
1192
+ namespace react {
1193
+ /**
1194
+ * ObjC++ class for module 'NativeImageStoreIOS'
1195
+ */
1196
+ class JSI_EXPORT NativeImageStoreIOSSpecJSI : public ObjCTurboModule {
1197
+ public:
1198
+ NativeImageStoreIOSSpecJSI(const ObjCTurboModule::InitParams &params);
1199
+ };
1200
+ } // namespace react
1201
+ } // namespace facebook
1202
+
1203
+ @protocol NativeJSCHeapCaptureSpec <RCTBridgeModule, RCTTurboModule>
1204
+
1205
+ - (void)captureComplete:(NSString *)path
1206
+ error:(NSString * _Nullable)error;
1207
+
1208
+ @end
1209
+ namespace facebook {
1210
+ namespace react {
1211
+ /**
1212
+ * ObjC++ class for module 'NativeJSCHeapCapture'
1213
+ */
1214
+ class JSI_EXPORT NativeJSCHeapCaptureSpecJSI : public ObjCTurboModule {
1215
+ public:
1216
+ NativeJSCHeapCaptureSpecJSI(const ObjCTurboModule::InitParams &params);
1217
+ };
1218
+ } // namespace react
1219
+ } // namespace facebook
1220
+
1221
+ @protocol NativeJSCSamplingProfilerSpec <RCTBridgeModule, RCTTurboModule>
1222
+
1223
+ - (void)operationComplete:(double)token
1224
+ result:(NSString * _Nullable)result
1225
+ error:(NSString * _Nullable)error;
1226
+
1227
+ @end
1228
+ namespace facebook {
1229
+ namespace react {
1230
+ /**
1231
+ * ObjC++ class for module 'NativeJSCSamplingProfiler'
1232
+ */
1233
+ class JSI_EXPORT NativeJSCSamplingProfilerSpecJSI : public ObjCTurboModule {
1234
+ public:
1235
+ NativeJSCSamplingProfilerSpecJSI(const ObjCTurboModule::InitParams &params);
1236
+ };
1237
+ } // namespace react
1238
+ } // namespace facebook
1239
+ namespace JS {
1240
+ namespace NativeJSDevSupport {
1241
+ struct Constants {
1242
+
1243
+ struct Builder {
1244
+ struct Input {
1245
+ RCTRequired<double> ERROR_CODE_EXCEPTION;
1246
+ RCTRequired<double> ERROR_CODE_VIEW_NOT_FOUND;
1247
+ };
1248
+
1249
+ /** Initialize with a set of values */
1250
+ Builder(const Input i);
1251
+ /** Initialize with an existing Constants */
1252
+ Builder(Constants i);
1253
+ /** Builds the object. Generally used only by the infrastructure. */
1254
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
1255
+ private:
1256
+ NSDictionary *(^_factory)(void);
1257
+ };
1258
+
1259
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
1260
+ NSDictionary *unsafeRawValue() const { return _v; }
1261
+ private:
1262
+ Constants(NSDictionary *const v) : _v(v) {}
1263
+ NSDictionary *_v;
1264
+ };
1265
+ }
1266
+ }
1267
+ @protocol NativeJSDevSupportSpec <RCTBridgeModule, RCTTurboModule>
1268
+
1269
+ - (void)onSuccess:(NSString *)data;
1270
+ - (void)onFailure:(double)errorCode
1271
+ error:(NSString *)error;
1272
+ - (facebook::react::ModuleConstants<JS::NativeJSDevSupport::Constants::Builder>)constantsToExport;
1273
+ - (facebook::react::ModuleConstants<JS::NativeJSDevSupport::Constants::Builder>)getConstants;
1274
+
1275
+ @end
1276
+ namespace facebook {
1277
+ namespace react {
1278
+ /**
1279
+ * ObjC++ class for module 'NativeJSDevSupport'
1280
+ */
1281
+ class JSI_EXPORT NativeJSDevSupportSpecJSI : public ObjCTurboModule {
1282
+ public:
1283
+ NativeJSDevSupportSpecJSI(const ObjCTurboModule::InitParams &params);
1284
+ };
1285
+ } // namespace react
1286
+ } // namespace facebook
1287
+
1288
+ @protocol NativeKeyboardObserverSpec <RCTBridgeModule, RCTTurboModule>
1289
+
1290
+ - (void)addListener:(NSString *)eventName;
1291
+ - (void)removeListeners:(double)count;
1292
+
1293
+ @end
1294
+ namespace facebook {
1295
+ namespace react {
1296
+ /**
1297
+ * ObjC++ class for module 'NativeKeyboardObserver'
1298
+ */
1299
+ class JSI_EXPORT NativeKeyboardObserverSpecJSI : public ObjCTurboModule {
1300
+ public:
1301
+ NativeKeyboardObserverSpecJSI(const ObjCTurboModule::InitParams &params);
1302
+ };
1303
+ } // namespace react
1304
+ } // namespace facebook
1305
+
1306
+ @protocol NativeLinkingManagerSpec <RCTBridgeModule, RCTTurboModule>
1307
+
1308
+ - (void)getInitialURL:(RCTPromiseResolveBlock)resolve
1309
+ reject:(RCTPromiseRejectBlock)reject;
1310
+ - (void)canOpenURL:(NSString *)url
1311
+ resolve:(RCTPromiseResolveBlock)resolve
1312
+ reject:(RCTPromiseRejectBlock)reject;
1313
+ - (void)openURL:(NSString *)url
1314
+ resolve:(RCTPromiseResolveBlock)resolve
1315
+ reject:(RCTPromiseRejectBlock)reject;
1316
+ - (void)openSettings:(RCTPromiseResolveBlock)resolve
1317
+ reject:(RCTPromiseRejectBlock)reject;
1318
+ - (void)addListener:(NSString *)eventName;
1319
+ - (void)removeListeners:(double)count;
1320
+
1321
+ @end
1322
+ namespace facebook {
1323
+ namespace react {
1324
+ /**
1325
+ * ObjC++ class for module 'NativeLinkingManager'
1326
+ */
1327
+ class JSI_EXPORT NativeLinkingManagerSpecJSI : public ObjCTurboModule {
1328
+ public:
1329
+ NativeLinkingManagerSpecJSI(const ObjCTurboModule::InitParams &params);
1330
+ };
1331
+ } // namespace react
1332
+ } // namespace facebook
1333
+
1334
+ @protocol NativeLogBoxSpec <RCTBridgeModule, RCTTurboModule>
1335
+
1336
+ - (void)show;
1337
+ - (void)hide;
1338
+
1339
+ @end
1340
+ namespace facebook {
1341
+ namespace react {
1342
+ /**
1343
+ * ObjC++ class for module 'NativeLogBox'
1344
+ */
1345
+ class JSI_EXPORT NativeLogBoxSpecJSI : public ObjCTurboModule {
1346
+ public:
1347
+ NativeLogBoxSpecJSI(const ObjCTurboModule::InitParams &params);
1348
+ };
1349
+ } // namespace react
1350
+ } // namespace facebook
1351
+
1352
+ @protocol NativeModalManagerSpec <RCTBridgeModule, RCTTurboModule>
1353
+
1354
+ - (void)addListener:(NSString *)eventName;
1355
+ - (void)removeListeners:(double)count;
1356
+
1357
+ @end
1358
+ namespace facebook {
1359
+ namespace react {
1360
+ /**
1361
+ * ObjC++ class for module 'NativeModalManager'
1362
+ */
1363
+ class JSI_EXPORT NativeModalManagerSpecJSI : public ObjCTurboModule {
1364
+ public:
1365
+ NativeModalManagerSpecJSI(const ObjCTurboModule::InitParams &params);
1366
+ };
1367
+ } // namespace react
1368
+ } // namespace facebook
1369
+ namespace JS {
1370
+ namespace NativeNetworkingIOS {
1371
+ struct SpecSendRequestQuery {
1372
+ NSString *method() const;
1373
+ NSString *url() const;
1374
+ id<NSObject> data() const;
1375
+ id<NSObject> headers() const;
1376
+ NSString *responseType() const;
1377
+ bool incrementalUpdates() const;
1378
+ double timeout() const;
1379
+ bool withCredentials() const;
1380
+
1381
+ SpecSendRequestQuery(NSDictionary *const v) : _v(v) {}
1382
+ private:
1383
+ NSDictionary *_v;
1384
+ };
1385
+ }
1386
+ }
1387
+
1388
+ @interface RCTCxxConvert (NativeNetworkingIOS_SpecSendRequestQuery)
1389
+ + (RCTManagedPointer *)JS_NativeNetworkingIOS_SpecSendRequestQuery:(id)json;
1390
+ @end
1391
+ @protocol NativeNetworkingIOSSpec <RCTBridgeModule, RCTTurboModule>
1392
+
1393
+ - (void)sendRequest:(JS::NativeNetworkingIOS::SpecSendRequestQuery &)query
1394
+ callback:(RCTResponseSenderBlock)callback;
1395
+ - (void)abortRequest:(double)requestId;
1396
+ - (void)clearCookies:(RCTResponseSenderBlock)callback;
1397
+ - (void)addListener:(NSString *)eventName;
1398
+ - (void)removeListeners:(double)count;
1399
+
1400
+ @end
1401
+ namespace facebook {
1402
+ namespace react {
1403
+ /**
1404
+ * ObjC++ class for module 'NativeNetworkingIOS'
1405
+ */
1406
+ class JSI_EXPORT NativeNetworkingIOSSpecJSI : public ObjCTurboModule {
1407
+ public:
1408
+ NativeNetworkingIOSSpecJSI(const ObjCTurboModule::InitParams &params);
1409
+ };
1410
+ } // namespace react
1411
+ } // namespace facebook
1412
+ namespace JS {
1413
+ namespace NativePlatformConstantsIOS {
1414
+ struct ConstantsReactNativeVersion {
1415
+
1416
+ struct Builder {
1417
+ struct Input {
1418
+ RCTRequired<double> major;
1419
+ RCTRequired<double> minor;
1420
+ RCTRequired<double> patch;
1421
+ RCTRequired<folly::Optional<double>> prerelease;
1422
+ };
1423
+
1424
+ /** Initialize with a set of values */
1425
+ Builder(const Input i);
1426
+ /** Initialize with an existing ConstantsReactNativeVersion */
1427
+ Builder(ConstantsReactNativeVersion i);
1428
+ /** Builds the object. Generally used only by the infrastructure. */
1429
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
1430
+ private:
1431
+ NSDictionary *(^_factory)(void);
1432
+ };
1433
+
1434
+ static ConstantsReactNativeVersion fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
1435
+ NSDictionary *unsafeRawValue() const { return _v; }
1436
+ private:
1437
+ ConstantsReactNativeVersion(NSDictionary *const v) : _v(v) {}
1438
+ NSDictionary *_v;
1439
+ };
1440
+ }
1441
+ }
1442
+ namespace JS {
1443
+ namespace NativePlatformConstantsIOS {
1444
+ struct Constants {
1445
+
1446
+ struct Builder {
1447
+ struct Input {
1448
+ RCTRequired<bool> isTesting;
1449
+ RCTRequired<JS::NativePlatformConstantsIOS::ConstantsReactNativeVersion::Builder> reactNativeVersion;
1450
+ RCTRequired<bool> forceTouchAvailable;
1451
+ RCTRequired<NSString *> osVersion;
1452
+ RCTRequired<NSString *> systemName;
1453
+ RCTRequired<NSString *> interfaceIdiom;
1454
+ };
1455
+
1456
+ /** Initialize with a set of values */
1457
+ Builder(const Input i);
1458
+ /** Initialize with an existing Constants */
1459
+ Builder(Constants i);
1460
+ /** Builds the object. Generally used only by the infrastructure. */
1461
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
1462
+ private:
1463
+ NSDictionary *(^_factory)(void);
1464
+ };
1465
+
1466
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
1467
+ NSDictionary *unsafeRawValue() const { return _v; }
1468
+ private:
1469
+ Constants(NSDictionary *const v) : _v(v) {}
1470
+ NSDictionary *_v;
1471
+ };
1472
+ }
1473
+ }
1474
+ @protocol NativePlatformConstantsIOSSpec <RCTBridgeModule, RCTTurboModule>
1475
+
1476
+ - (facebook::react::ModuleConstants<JS::NativePlatformConstantsIOS::Constants::Builder>)constantsToExport;
1477
+ - (facebook::react::ModuleConstants<JS::NativePlatformConstantsIOS::Constants::Builder>)getConstants;
1478
+
1479
+ @end
1480
+ namespace facebook {
1481
+ namespace react {
1482
+ /**
1483
+ * ObjC++ class for module 'NativePlatformConstantsIOS'
1484
+ */
1485
+ class JSI_EXPORT NativePlatformConstantsIOSSpecJSI : public ObjCTurboModule {
1486
+ public:
1487
+ NativePlatformConstantsIOSSpecJSI(const ObjCTurboModule::InitParams &params);
1488
+ };
1489
+ } // namespace react
1490
+ } // namespace facebook
1491
+ namespace JS {
1492
+ namespace NativePushNotificationManagerIOS {
1493
+ struct SpecRequestPermissionsPermission {
1494
+ bool alert() const;
1495
+ bool badge() const;
1496
+ bool sound() const;
1497
+
1498
+ SpecRequestPermissionsPermission(NSDictionary *const v) : _v(v) {}
1499
+ private:
1500
+ NSDictionary *_v;
1501
+ };
1502
+ }
1503
+ }
1504
+
1505
+ @interface RCTCxxConvert (NativePushNotificationManagerIOS_SpecRequestPermissionsPermission)
1506
+ + (RCTManagedPointer *)JS_NativePushNotificationManagerIOS_SpecRequestPermissionsPermission:(id)json;
1507
+ @end
1508
+ namespace JS {
1509
+ namespace NativePushNotificationManagerIOS {
1510
+ struct Notification {
1511
+ NSString *alertTitle() const;
1512
+ folly::Optional<double> fireDate() const;
1513
+ NSString *alertBody() const;
1514
+ NSString *alertAction() const;
1515
+ id<NSObject> _Nullable userInfo() const;
1516
+ NSString *category() const;
1517
+ NSString *repeatInterval() const;
1518
+ folly::Optional<double> applicationIconBadgeNumber() const;
1519
+ folly::Optional<bool> isSilent() const;
1520
+
1521
+ Notification(NSDictionary *const v) : _v(v) {}
1522
+ private:
1523
+ NSDictionary *_v;
1524
+ };
1525
+ }
1526
+ }
1527
+
1528
+ @interface RCTCxxConvert (NativePushNotificationManagerIOS_Notification)
1529
+ + (RCTManagedPointer *)JS_NativePushNotificationManagerIOS_Notification:(id)json;
1530
+ @end
1531
+ @protocol NativePushNotificationManagerIOSSpec <RCTBridgeModule, RCTTurboModule>
1532
+
1533
+ - (void)onFinishRemoteNotification:(NSString *)notificationId
1534
+ fetchResult:(NSString *)fetchResult;
1535
+ - (void)setApplicationIconBadgeNumber:(double)num;
1536
+ - (void)getApplicationIconBadgeNumber:(RCTResponseSenderBlock)callback;
1537
+ - (void)requestPermissions:(JS::NativePushNotificationManagerIOS::SpecRequestPermissionsPermission &)permission
1538
+ resolve:(RCTPromiseResolveBlock)resolve
1539
+ reject:(RCTPromiseRejectBlock)reject;
1540
+ - (void)abandonPermissions;
1541
+ - (void)checkPermissions:(RCTResponseSenderBlock)callback;
1542
+ - (void)presentLocalNotification:(JS::NativePushNotificationManagerIOS::Notification &)notification;
1543
+ - (void)scheduleLocalNotification:(JS::NativePushNotificationManagerIOS::Notification &)notification;
1544
+ - (void)cancelAllLocalNotifications;
1545
+ - (void)cancelLocalNotifications:(NSDictionary *)userInfo;
1546
+ - (void)getInitialNotification:(RCTPromiseResolveBlock)resolve
1547
+ reject:(RCTPromiseRejectBlock)reject;
1548
+ - (void)getScheduledLocalNotifications:(RCTResponseSenderBlock)callback;
1549
+ - (void)removeAllDeliveredNotifications;
1550
+ - (void)removeDeliveredNotifications:(NSArray *)identifiers;
1551
+ - (void)getDeliveredNotifications:(RCTResponseSenderBlock)callback;
1552
+ - (void)addListener:(NSString *)eventType;
1553
+ - (void)removeListeners:(double)count;
1554
+
1555
+ @end
1556
+ namespace facebook {
1557
+ namespace react {
1558
+ /**
1559
+ * ObjC++ class for module 'NativePushNotificationManagerIOS'
1560
+ */
1561
+ class JSI_EXPORT NativePushNotificationManagerIOSSpecJSI : public ObjCTurboModule {
1562
+ public:
1563
+ NativePushNotificationManagerIOSSpecJSI(const ObjCTurboModule::InitParams &params);
1564
+ };
1565
+ } // namespace react
1566
+ } // namespace facebook
1567
+
1568
+ @protocol NativeRedBoxSpec <RCTBridgeModule, RCTTurboModule>
1569
+
1570
+ - (void)setExtraData:(NSDictionary *)extraData
1571
+ forIdentifier:(NSString *)forIdentifier;
1572
+ - (void)dismiss;
1573
+
1574
+ @end
1575
+ namespace facebook {
1576
+ namespace react {
1577
+ /**
1578
+ * ObjC++ class for module 'NativeRedBox'
1579
+ */
1580
+ class JSI_EXPORT NativeRedBoxSpecJSI : public ObjCTurboModule {
1581
+ public:
1582
+ NativeRedBoxSpecJSI(const ObjCTurboModule::InitParams &params);
1583
+ };
1584
+ } // namespace react
1585
+ } // namespace facebook
1586
+
1587
+ @protocol NativeSegmentFetcherSpec <RCTBridgeModule, RCTTurboModule>
1588
+
1589
+ - (void)fetchSegment:(double)segmentId
1590
+ options:(NSDictionary *)options
1591
+ callback:(RCTResponseSenderBlock)callback;
1592
+ - (void)getSegment:(double)segmentId
1593
+ options:(NSDictionary *)options
1594
+ callback:(RCTResponseSenderBlock)callback;
1595
+
1596
+ @end
1597
+ namespace facebook {
1598
+ namespace react {
1599
+ /**
1600
+ * ObjC++ class for module 'NativeSegmentFetcher'
1601
+ */
1602
+ class JSI_EXPORT NativeSegmentFetcherSpecJSI : public ObjCTurboModule {
1603
+ public:
1604
+ NativeSegmentFetcherSpecJSI(const ObjCTurboModule::InitParams &params);
1605
+ };
1606
+ } // namespace react
1607
+ } // namespace facebook
1608
+ namespace JS {
1609
+ namespace NativeSettingsManager {
1610
+ struct Constants {
1611
+
1612
+ struct Builder {
1613
+ struct Input {
1614
+ RCTRequired<id<NSObject> > settings;
1615
+ };
1616
+
1617
+ /** Initialize with a set of values */
1618
+ Builder(const Input i);
1619
+ /** Initialize with an existing Constants */
1620
+ Builder(Constants i);
1621
+ /** Builds the object. Generally used only by the infrastructure. */
1622
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
1623
+ private:
1624
+ NSDictionary *(^_factory)(void);
1625
+ };
1626
+
1627
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
1628
+ NSDictionary *unsafeRawValue() const { return _v; }
1629
+ private:
1630
+ Constants(NSDictionary *const v) : _v(v) {}
1631
+ NSDictionary *_v;
1632
+ };
1633
+ }
1634
+ }
1635
+ @protocol NativeSettingsManagerSpec <RCTBridgeModule, RCTTurboModule>
1636
+
1637
+ - (void)setValues:(NSDictionary *)values;
1638
+ - (void)deleteValues:(NSArray *)values;
1639
+ - (facebook::react::ModuleConstants<JS::NativeSettingsManager::Constants::Builder>)constantsToExport;
1640
+ - (facebook::react::ModuleConstants<JS::NativeSettingsManager::Constants::Builder>)getConstants;
1641
+
1642
+ @end
1643
+ namespace facebook {
1644
+ namespace react {
1645
+ /**
1646
+ * ObjC++ class for module 'NativeSettingsManager'
1647
+ */
1648
+ class JSI_EXPORT NativeSettingsManagerSpecJSI : public ObjCTurboModule {
1649
+ public:
1650
+ NativeSettingsManagerSpecJSI(const ObjCTurboModule::InitParams &params);
1651
+ };
1652
+ } // namespace react
1653
+ } // namespace facebook
1654
+ namespace JS {
1655
+ namespace NativeShareModule {
1656
+ struct SpecShareContent {
1657
+ NSString *title() const;
1658
+ NSString *message() const;
1659
+
1660
+ SpecShareContent(NSDictionary *const v) : _v(v) {}
1661
+ private:
1662
+ NSDictionary *_v;
1663
+ };
1664
+ }
1665
+ }
1666
+
1667
+ @interface RCTCxxConvert (NativeShareModule_SpecShareContent)
1668
+ + (RCTManagedPointer *)JS_NativeShareModule_SpecShareContent:(id)json;
1669
+ @end
1670
+ @protocol NativeShareModuleSpec <RCTBridgeModule, RCTTurboModule>
1671
+
1672
+ - (void)share:(JS::NativeShareModule::SpecShareContent &)content
1673
+ dialogTitle:(NSString *)dialogTitle
1674
+ resolve:(RCTPromiseResolveBlock)resolve
1675
+ reject:(RCTPromiseRejectBlock)reject;
1676
+
1677
+ @end
1678
+ namespace facebook {
1679
+ namespace react {
1680
+ /**
1681
+ * ObjC++ class for module 'NativeShareModule'
1682
+ */
1683
+ class JSI_EXPORT NativeShareModuleSpecJSI : public ObjCTurboModule {
1684
+ public:
1685
+ NativeShareModuleSpecJSI(const ObjCTurboModule::InitParams &params);
1686
+ };
1687
+ } // namespace react
1688
+ } // namespace facebook
1689
+
1690
+ @protocol NativeSoundManagerSpec <RCTBridgeModule, RCTTurboModule>
1691
+
1692
+ - (void)playTouchSound;
1693
+
1694
+ @end
1695
+ namespace facebook {
1696
+ namespace react {
1697
+ /**
1698
+ * ObjC++ class for module 'NativeSoundManager'
1699
+ */
1700
+ class JSI_EXPORT NativeSoundManagerSpecJSI : public ObjCTurboModule {
1701
+ public:
1702
+ NativeSoundManagerSpecJSI(const ObjCTurboModule::InitParams &params);
1703
+ };
1704
+ } // namespace react
1705
+ } // namespace facebook
1706
+ namespace JS {
1707
+ namespace NativeSourceCode {
1708
+ struct Constants {
1709
+
1710
+ struct Builder {
1711
+ struct Input {
1712
+ RCTRequired<NSString *> scriptURL;
1713
+ };
1714
+
1715
+ /** Initialize with a set of values */
1716
+ Builder(const Input i);
1717
+ /** Initialize with an existing Constants */
1718
+ Builder(Constants i);
1719
+ /** Builds the object. Generally used only by the infrastructure. */
1720
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
1721
+ private:
1722
+ NSDictionary *(^_factory)(void);
1723
+ };
1724
+
1725
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
1726
+ NSDictionary *unsafeRawValue() const { return _v; }
1727
+ private:
1728
+ Constants(NSDictionary *const v) : _v(v) {}
1729
+ NSDictionary *_v;
1730
+ };
1731
+ }
1732
+ }
1733
+ @protocol NativeSourceCodeSpec <RCTBridgeModule, RCTTurboModule>
1734
+
1735
+ - (facebook::react::ModuleConstants<JS::NativeSourceCode::Constants::Builder>)constantsToExport;
1736
+ - (facebook::react::ModuleConstants<JS::NativeSourceCode::Constants::Builder>)getConstants;
1737
+
1738
+ @end
1739
+ namespace facebook {
1740
+ namespace react {
1741
+ /**
1742
+ * ObjC++ class for module 'NativeSourceCode'
1743
+ */
1744
+ class JSI_EXPORT NativeSourceCodeSpecJSI : public ObjCTurboModule {
1745
+ public:
1746
+ NativeSourceCodeSpecJSI(const ObjCTurboModule::InitParams &params);
1747
+ };
1748
+ } // namespace react
1749
+ } // namespace facebook
1750
+ namespace JS {
1751
+ namespace NativeStatusBarManagerIOS {
1752
+ struct Constants {
1753
+
1754
+ struct Builder {
1755
+ struct Input {
1756
+ RCTRequired<double> HEIGHT;
1757
+ folly::Optional<double> DEFAULT_BACKGROUND_COLOR;
1758
+ };
1759
+
1760
+ /** Initialize with a set of values */
1761
+ Builder(const Input i);
1762
+ /** Initialize with an existing Constants */
1763
+ Builder(Constants i);
1764
+ /** Builds the object. Generally used only by the infrastructure. */
1765
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
1766
+ private:
1767
+ NSDictionary *(^_factory)(void);
1768
+ };
1769
+
1770
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
1771
+ NSDictionary *unsafeRawValue() const { return _v; }
1772
+ private:
1773
+ Constants(NSDictionary *const v) : _v(v) {}
1774
+ NSDictionary *_v;
1775
+ };
1776
+ }
1777
+ }
1778
+ @protocol NativeStatusBarManagerIOSSpec <RCTBridgeModule, RCTTurboModule>
1779
+
1780
+ - (void)getHeight:(RCTResponseSenderBlock)callback;
1781
+ - (void)setNetworkActivityIndicatorVisible:(BOOL)visible;
1782
+ - (void)addListener:(NSString *)eventType;
1783
+ - (void)removeListeners:(double)count;
1784
+ - (void)setStyle:(NSString * _Nullable)statusBarStyle
1785
+ animated:(BOOL)animated;
1786
+ - (void)setHidden:(BOOL)hidden
1787
+ withAnimation:(NSString *)withAnimation;
1788
+ - (facebook::react::ModuleConstants<JS::NativeStatusBarManagerIOS::Constants::Builder>)constantsToExport;
1789
+ - (facebook::react::ModuleConstants<JS::NativeStatusBarManagerIOS::Constants::Builder>)getConstants;
1790
+
1791
+ @end
1792
+ namespace facebook {
1793
+ namespace react {
1794
+ /**
1795
+ * ObjC++ class for module 'NativeStatusBarManagerIOS'
1796
+ */
1797
+ class JSI_EXPORT NativeStatusBarManagerIOSSpecJSI : public ObjCTurboModule {
1798
+ public:
1799
+ NativeStatusBarManagerIOSSpecJSI(const ObjCTurboModule::InitParams &params);
1800
+ };
1801
+ } // namespace react
1802
+ } // namespace facebook
1803
+
1804
+ @protocol NativeTimingSpec <RCTBridgeModule, RCTTurboModule>
1805
+
1806
+ - (void)createTimer:(double)callbackID
1807
+ duration:(double)duration
1808
+ jsSchedulingTime:(double)jsSchedulingTime
1809
+ repeats:(BOOL)repeats;
1810
+ - (void)deleteTimer:(double)timerID;
1811
+ - (void)setSendIdleEvents:(BOOL)sendIdleEvents;
1812
+
1813
+ @end
1814
+ namespace facebook {
1815
+ namespace react {
1816
+ /**
1817
+ * ObjC++ class for module 'NativeTiming'
1818
+ */
1819
+ class JSI_EXPORT NativeTimingSpecJSI : public ObjCTurboModule {
1820
+ public:
1821
+ NativeTimingSpecJSI(const ObjCTurboModule::InitParams &params);
1822
+ };
1823
+ } // namespace react
1824
+ } // namespace facebook
1825
+
1826
+ @protocol NativeVibrationSpec <RCTBridgeModule, RCTTurboModule>
1827
+
1828
+ - (void)vibrate:(double)pattern;
1829
+ - (void)vibrateByPattern:(NSArray *)pattern
1830
+ repeat:(double)repeat;
1831
+ - (void)cancel;
1832
+
1833
+ @end
1834
+ namespace facebook {
1835
+ namespace react {
1836
+ /**
1837
+ * ObjC++ class for module 'NativeVibration'
1838
+ */
1839
+ class JSI_EXPORT NativeVibrationSpecJSI : public ObjCTurboModule {
1840
+ public:
1841
+ NativeVibrationSpecJSI(const ObjCTurboModule::InitParams &params);
1842
+ };
1843
+ } // namespace react
1844
+ } // namespace facebook
1845
+ namespace JS {
1846
+ namespace NativeWebSocketModule {
1847
+ struct SpecConnectOptions {
1848
+ id<NSObject> _Nullable headers() const;
1849
+
1850
+ SpecConnectOptions(NSDictionary *const v) : _v(v) {}
1851
+ private:
1852
+ NSDictionary *_v;
1853
+ };
1854
+ }
1855
+ }
1856
+
1857
+ @interface RCTCxxConvert (NativeWebSocketModule_SpecConnectOptions)
1858
+ + (RCTManagedPointer *)JS_NativeWebSocketModule_SpecConnectOptions:(id)json;
1859
+ @end
1860
+ @protocol NativeWebSocketModuleSpec <RCTBridgeModule, RCTTurboModule>
1861
+
1862
+ - (void)connect:(NSString *)url
1863
+ protocols:(NSArray * _Nullable)protocols
1864
+ options:(JS::NativeWebSocketModule::SpecConnectOptions &)options
1865
+ socketID:(double)socketID;
1866
+ - (void)send:(NSString *)message
1867
+ forSocketID:(double)forSocketID;
1868
+ - (void)sendBinary:(NSString *)base64String
1869
+ forSocketID:(double)forSocketID;
1870
+ - (void)ping:(double)socketID;
1871
+ - (void)close:(double)code
1872
+ reason:(NSString *)reason
1873
+ socketID:(double)socketID;
1874
+ - (void)addListener:(NSString *)eventName;
1875
+ - (void)removeListeners:(double)count;
1876
+
1877
+ @end
1878
+ namespace facebook {
1879
+ namespace react {
1880
+ /**
1881
+ * ObjC++ class for module 'NativeWebSocketModule'
1882
+ */
1883
+ class JSI_EXPORT NativeWebSocketModuleSpecJSI : public ObjCTurboModule {
1884
+ public:
1885
+ NativeWebSocketModuleSpecJSI(const ObjCTurboModule::InitParams &params);
1886
+ };
1887
+ } // namespace react
1888
+ } // namespace facebook
1889
+
1890
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::extraSmall() const
1891
+ {
1892
+ id const p = _v[@"extraSmall"];
1893
+ return RCTBridgingToOptionalDouble(p);
1894
+ }
1895
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::small() const
1896
+ {
1897
+ id const p = _v[@"small"];
1898
+ return RCTBridgingToOptionalDouble(p);
1899
+ }
1900
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::medium() const
1901
+ {
1902
+ id const p = _v[@"medium"];
1903
+ return RCTBridgingToOptionalDouble(p);
1904
+ }
1905
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::large() const
1906
+ {
1907
+ id const p = _v[@"large"];
1908
+ return RCTBridgingToOptionalDouble(p);
1909
+ }
1910
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::extraLarge() const
1911
+ {
1912
+ id const p = _v[@"extraLarge"];
1913
+ return RCTBridgingToOptionalDouble(p);
1914
+ }
1915
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::extraExtraLarge() const
1916
+ {
1917
+ id const p = _v[@"extraExtraLarge"];
1918
+ return RCTBridgingToOptionalDouble(p);
1919
+ }
1920
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::extraExtraExtraLarge() const
1921
+ {
1922
+ id const p = _v[@"extraExtraExtraLarge"];
1923
+ return RCTBridgingToOptionalDouble(p);
1924
+ }
1925
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityMedium() const
1926
+ {
1927
+ id const p = _v[@"accessibilityMedium"];
1928
+ return RCTBridgingToOptionalDouble(p);
1929
+ }
1930
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityLarge() const
1931
+ {
1932
+ id const p = _v[@"accessibilityLarge"];
1933
+ return RCTBridgingToOptionalDouble(p);
1934
+ }
1935
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityExtraLarge() const
1936
+ {
1937
+ id const p = _v[@"accessibilityExtraLarge"];
1938
+ return RCTBridgingToOptionalDouble(p);
1939
+ }
1940
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityExtraExtraLarge() const
1941
+ {
1942
+ id const p = _v[@"accessibilityExtraExtraLarge"];
1943
+ return RCTBridgingToOptionalDouble(p);
1944
+ }
1945
+ inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityExtraExtraExtraLarge() const
1946
+ {
1947
+ id const p = _v[@"accessibilityExtraExtraExtraLarge"];
1948
+ return RCTBridgingToOptionalDouble(p);
1949
+ }
1950
+ inline NSString *JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::title() const
1951
+ {
1952
+ id const p = _v[@"title"];
1953
+ return RCTBridgingToOptionalString(p);
1954
+ }
1955
+ inline NSString *JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::message() const
1956
+ {
1957
+ id const p = _v[@"message"];
1958
+ return RCTBridgingToOptionalString(p);
1959
+ }
1960
+ inline folly::Optional<facebook::react::LazyVector<NSString *>> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::options() const
1961
+ {
1962
+ id const p = _v[@"options"];
1963
+ return RCTBridgingToOptionalVec(p, ^NSString *(id itemValue_0) { return RCTBridgingToString(itemValue_0); });
1964
+ }
1965
+ inline folly::Optional<facebook::react::LazyVector<double>> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::destructiveButtonIndices() const
1966
+ {
1967
+ id const p = _v[@"destructiveButtonIndices"];
1968
+ return RCTBridgingToOptionalVec(p, ^double(id itemValue_0) { return RCTBridgingToDouble(itemValue_0); });
1969
+ }
1970
+ inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::cancelButtonIndex() const
1971
+ {
1972
+ id const p = _v[@"cancelButtonIndex"];
1973
+ return RCTBridgingToOptionalDouble(p);
1974
+ }
1975
+ inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::anchor() const
1976
+ {
1977
+ id const p = _v[@"anchor"];
1978
+ return RCTBridgingToOptionalDouble(p);
1979
+ }
1980
+ inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::tintColor() const
1981
+ {
1982
+ id const p = _v[@"tintColor"];
1983
+ return RCTBridgingToOptionalDouble(p);
1984
+ }
1985
+ inline NSString *JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::userInterfaceStyle() const
1986
+ {
1987
+ id const p = _v[@"userInterfaceStyle"];
1988
+ return RCTBridgingToOptionalString(p);
1989
+ }
1990
+ inline folly::Optional<facebook::react::LazyVector<double>> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::disabledButtonIndices() const
1991
+ {
1992
+ id const p = _v[@"disabledButtonIndices"];
1993
+ return RCTBridgingToOptionalVec(p, ^double(id itemValue_0) { return RCTBridgingToDouble(itemValue_0); });
1994
+ }
1995
+ inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::message() const
1996
+ {
1997
+ id const p = _v[@"message"];
1998
+ return RCTBridgingToOptionalString(p);
1999
+ }
2000
+ inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::url() const
2001
+ {
2002
+ id const p = _v[@"url"];
2003
+ return RCTBridgingToOptionalString(p);
2004
+ }
2005
+ inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::subject() const
2006
+ {
2007
+ id const p = _v[@"subject"];
2008
+ return RCTBridgingToOptionalString(p);
2009
+ }
2010
+ inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::anchor() const
2011
+ {
2012
+ id const p = _v[@"anchor"];
2013
+ return RCTBridgingToOptionalDouble(p);
2014
+ }
2015
+ inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::tintColor() const
2016
+ {
2017
+ id const p = _v[@"tintColor"];
2018
+ return RCTBridgingToOptionalDouble(p);
2019
+ }
2020
+ inline folly::Optional<facebook::react::LazyVector<NSString *>> JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::excludedActivityTypes() const
2021
+ {
2022
+ id const p = _v[@"excludedActivityTypes"];
2023
+ return RCTBridgingToOptionalVec(p, ^NSString *(id itemValue_0) { return RCTBridgingToString(itemValue_0); });
2024
+ }
2025
+ inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::userInterfaceStyle() const
2026
+ {
2027
+ id const p = _v[@"userInterfaceStyle"];
2028
+ return RCTBridgingToOptionalString(p);
2029
+ }
2030
+ inline NSString *JS::NativeAlertManager::Args::title() const
2031
+ {
2032
+ id const p = _v[@"title"];
2033
+ return RCTBridgingToOptionalString(p);
2034
+ }
2035
+ inline NSString *JS::NativeAlertManager::Args::message() const
2036
+ {
2037
+ id const p = _v[@"message"];
2038
+ return RCTBridgingToOptionalString(p);
2039
+ }
2040
+ inline folly::Optional<facebook::react::LazyVector<id<NSObject> >> JS::NativeAlertManager::Args::buttons() const
2041
+ {
2042
+ id const p = _v[@"buttons"];
2043
+ return RCTBridgingToOptionalVec(p, ^id<NSObject> (id itemValue_0) { return itemValue_0; });
2044
+ }
2045
+ inline NSString *JS::NativeAlertManager::Args::type() const
2046
+ {
2047
+ id const p = _v[@"type"];
2048
+ return RCTBridgingToOptionalString(p);
2049
+ }
2050
+ inline NSString *JS::NativeAlertManager::Args::defaultValue() const
2051
+ {
2052
+ id const p = _v[@"defaultValue"];
2053
+ return RCTBridgingToOptionalString(p);
2054
+ }
2055
+ inline NSString *JS::NativeAlertManager::Args::cancelButtonKey() const
2056
+ {
2057
+ id const p = _v[@"cancelButtonKey"];
2058
+ return RCTBridgingToOptionalString(p);
2059
+ }
2060
+ inline NSString *JS::NativeAlertManager::Args::destructiveButtonKey() const
2061
+ {
2062
+ id const p = _v[@"destructiveButtonKey"];
2063
+ return RCTBridgingToOptionalString(p);
2064
+ }
2065
+ inline NSString *JS::NativeAlertManager::Args::keyboardType() const
2066
+ {
2067
+ id const p = _v[@"keyboardType"];
2068
+ return RCTBridgingToOptionalString(p);
2069
+ }
2070
+ inline facebook::react::LazyVector<NSString *> JS::NativeAnimatedModule::EventMapping::nativeEventPath() const
2071
+ {
2072
+ id const p = _v[@"nativeEventPath"];
2073
+ return RCTBridgingToVec(p, ^NSString *(id itemValue_0) { return RCTBridgingToString(itemValue_0); });
2074
+ }
2075
+ inline folly::Optional<double> JS::NativeAnimatedModule::EventMapping::animatedValueTag() const
2076
+ {
2077
+ id const p = _v[@"animatedValueTag"];
2078
+ return RCTBridgingToOptionalDouble(p);
2079
+ }
2080
+ inline facebook::react::LazyVector<NSString *> JS::NativeAnimatedTurboModule::EventMapping::nativeEventPath() const
2081
+ {
2082
+ id const p = _v[@"nativeEventPath"];
2083
+ return RCTBridgingToVec(p, ^NSString *(id itemValue_0) { return RCTBridgingToString(itemValue_0); });
2084
+ }
2085
+ inline folly::Optional<double> JS::NativeAnimatedTurboModule::EventMapping::animatedValueTag() const
2086
+ {
2087
+ id const p = _v[@"animatedValueTag"];
2088
+ return RCTBridgingToOptionalDouble(p);
2089
+ }
2090
+
2091
+ inline JS::NativeAppState::Constants::Builder::Builder(const Input i) : _factory(^{
2092
+ NSMutableDictionary *d = [NSMutableDictionary new];
2093
+ auto initialAppState = i.initialAppState.get();
2094
+ d[@"initialAppState"] = initialAppState;
2095
+ return d;
2096
+ }) {}
2097
+ inline JS::NativeAppState::Constants::Builder::Builder(Constants i) : _factory(^{
2098
+ return i.unsafeRawValue();
2099
+ }) {}
2100
+
2101
+
2102
+
2103
+ inline JS::NativeBlobModule::Constants::Builder::Builder(const Input i) : _factory(^{
2104
+ NSMutableDictionary *d = [NSMutableDictionary new];
2105
+ auto BLOB_URI_SCHEME = i.BLOB_URI_SCHEME.get();
2106
+ d[@"BLOB_URI_SCHEME"] = BLOB_URI_SCHEME;
2107
+ auto BLOB_URI_HOST = i.BLOB_URI_HOST.get();
2108
+ d[@"BLOB_URI_HOST"] = BLOB_URI_HOST;
2109
+ return d;
2110
+ }) {}
2111
+ inline JS::NativeBlobModule::Constants::Builder::Builder(Constants i) : _factory(^{
2112
+ return i.unsafeRawValue();
2113
+ }) {}
2114
+
2115
+
2116
+
2117
+
2118
+
2119
+
2120
+
2121
+ inline JS::NativeDeviceInfo::DisplayMetrics::Builder::Builder(const Input i) : _factory(^{
2122
+ NSMutableDictionary *d = [NSMutableDictionary new];
2123
+ auto width = i.width.get();
2124
+ d[@"width"] = @(width);
2125
+ auto height = i.height.get();
2126
+ d[@"height"] = @(height);
2127
+ auto scale = i.scale.get();
2128
+ d[@"scale"] = @(scale);
2129
+ auto fontScale = i.fontScale.get();
2130
+ d[@"fontScale"] = @(fontScale);
2131
+ return d;
2132
+ }) {}
2133
+ inline JS::NativeDeviceInfo::DisplayMetrics::Builder::Builder(DisplayMetrics i) : _factory(^{
2134
+ return i.unsafeRawValue();
2135
+ }) {}
2136
+ inline JS::NativeDeviceInfo::DisplayMetricsAndroid::Builder::Builder(const Input i) : _factory(^{
2137
+ NSMutableDictionary *d = [NSMutableDictionary new];
2138
+ auto width = i.width.get();
2139
+ d[@"width"] = @(width);
2140
+ auto height = i.height.get();
2141
+ d[@"height"] = @(height);
2142
+ auto scale = i.scale.get();
2143
+ d[@"scale"] = @(scale);
2144
+ auto fontScale = i.fontScale.get();
2145
+ d[@"fontScale"] = @(fontScale);
2146
+ auto densityDpi = i.densityDpi.get();
2147
+ d[@"densityDpi"] = @(densityDpi);
2148
+ return d;
2149
+ }) {}
2150
+ inline JS::NativeDeviceInfo::DisplayMetricsAndroid::Builder::Builder(DisplayMetricsAndroid i) : _factory(^{
2151
+ return i.unsafeRawValue();
2152
+ }) {}
2153
+ inline JS::NativeDeviceInfo::DimensionsPayload::Builder::Builder(const Input i) : _factory(^{
2154
+ NSMutableDictionary *d = [NSMutableDictionary new];
2155
+ auto window = i.window;
2156
+ d[@"window"] = window.hasValue() ? window.value().buildUnsafeRawValue() : nil;
2157
+ auto screen = i.screen;
2158
+ d[@"screen"] = screen.hasValue() ? screen.value().buildUnsafeRawValue() : nil;
2159
+ auto windowPhysicalPixels = i.windowPhysicalPixels;
2160
+ d[@"windowPhysicalPixels"] = windowPhysicalPixels.hasValue() ? windowPhysicalPixels.value().buildUnsafeRawValue() : nil;
2161
+ auto screenPhysicalPixels = i.screenPhysicalPixels;
2162
+ d[@"screenPhysicalPixels"] = screenPhysicalPixels.hasValue() ? screenPhysicalPixels.value().buildUnsafeRawValue() : nil;
2163
+ return d;
2164
+ }) {}
2165
+ inline JS::NativeDeviceInfo::DimensionsPayload::Builder::Builder(DimensionsPayload i) : _factory(^{
2166
+ return i.unsafeRawValue();
2167
+ }) {}
2168
+ inline JS::NativeDeviceInfo::Constants::Builder::Builder(const Input i) : _factory(^{
2169
+ NSMutableDictionary *d = [NSMutableDictionary new];
2170
+ auto Dimensions = i.Dimensions.get();
2171
+ d[@"Dimensions"] = Dimensions.buildUnsafeRawValue();
2172
+ auto isIPhoneX_deprecated = i.isIPhoneX_deprecated;
2173
+ d[@"isIPhoneX_deprecated"] = isIPhoneX_deprecated.hasValue() ? @((BOOL)isIPhoneX_deprecated.value()) : nil;
2174
+ return d;
2175
+ }) {}
2176
+ inline JS::NativeDeviceInfo::Constants::Builder::Builder(Constants i) : _factory(^{
2177
+ return i.unsafeRawValue();
2178
+ }) {}
2179
+ inline folly::Optional<double> JS::NativeExceptionsManager::StackFrame::column() const
2180
+ {
2181
+ id const p = _v[@"column"];
2182
+ return RCTBridgingToOptionalDouble(p);
2183
+ }
2184
+ inline NSString *JS::NativeExceptionsManager::StackFrame::file() const
2185
+ {
2186
+ id const p = _v[@"file"];
2187
+ return RCTBridgingToOptionalString(p);
2188
+ }
2189
+ inline folly::Optional<double> JS::NativeExceptionsManager::StackFrame::lineNumber() const
2190
+ {
2191
+ id const p = _v[@"lineNumber"];
2192
+ return RCTBridgingToOptionalDouble(p);
2193
+ }
2194
+ inline NSString *JS::NativeExceptionsManager::StackFrame::methodName() const
2195
+ {
2196
+ id const p = _v[@"methodName"];
2197
+ return RCTBridgingToString(p);
2198
+ }
2199
+ inline folly::Optional<bool> JS::NativeExceptionsManager::StackFrame::collapse() const
2200
+ {
2201
+ id const p = _v[@"collapse"];
2202
+ return RCTBridgingToOptionalBool(p);
2203
+ }
2204
+ inline NSString *JS::NativeExceptionsManager::ExceptionData::message() const
2205
+ {
2206
+ id const p = _v[@"message"];
2207
+ return RCTBridgingToString(p);
2208
+ }
2209
+ inline NSString *JS::NativeExceptionsManager::ExceptionData::originalMessage() const
2210
+ {
2211
+ id const p = _v[@"originalMessage"];
2212
+ return RCTBridgingToOptionalString(p);
2213
+ }
2214
+ inline NSString *JS::NativeExceptionsManager::ExceptionData::name() const
2215
+ {
2216
+ id const p = _v[@"name"];
2217
+ return RCTBridgingToOptionalString(p);
2218
+ }
2219
+ inline NSString *JS::NativeExceptionsManager::ExceptionData::componentStack() const
2220
+ {
2221
+ id const p = _v[@"componentStack"];
2222
+ return RCTBridgingToOptionalString(p);
2223
+ }
2224
+ inline facebook::react::LazyVector<JS::NativeExceptionsManager::StackFrame> JS::NativeExceptionsManager::ExceptionData::stack() const
2225
+ {
2226
+ id const p = _v[@"stack"];
2227
+ return RCTBridgingToVec(p, ^JS::NativeExceptionsManager::StackFrame(id itemValue_0) { return JS::NativeExceptionsManager::StackFrame(itemValue_0); });
2228
+ }
2229
+ inline double JS::NativeExceptionsManager::ExceptionData::id_() const
2230
+ {
2231
+ id const p = _v[@"id_"];
2232
+ return RCTBridgingToDouble(p);
2233
+ }
2234
+ inline bool JS::NativeExceptionsManager::ExceptionData::isFatal() const
2235
+ {
2236
+ id const p = _v[@"isFatal"];
2237
+ return RCTBridgingToBool(p);
2238
+ }
2239
+ inline id<NSObject> _Nullable JS::NativeExceptionsManager::ExceptionData::extraData() const
2240
+ {
2241
+ id const p = _v[@"extraData"];
2242
+ return p;
2243
+ }
2244
+
2245
+ inline folly::Optional<bool> JS::NativeFrameRateLogger::SpecSetGlobalOptionsOptions::debug() const
2246
+ {
2247
+ id const p = _v[@"debug"];
2248
+ return RCTBridgingToOptionalBool(p);
2249
+ }
2250
+ inline folly::Optional<bool> JS::NativeFrameRateLogger::SpecSetGlobalOptionsOptions::reportStackTraces() const
2251
+ {
2252
+ id const p = _v[@"reportStackTraces"];
2253
+ return RCTBridgingToOptionalBool(p);
2254
+ }
2255
+
2256
+ inline JS::NativeI18nManager::Constants::Builder::Builder(const Input i) : _factory(^{
2257
+ NSMutableDictionary *d = [NSMutableDictionary new];
2258
+ auto isRTL = i.isRTL.get();
2259
+ d[@"isRTL"] = @(isRTL);
2260
+ auto doLeftAndRightSwapInRTL = i.doLeftAndRightSwapInRTL.get();
2261
+ d[@"doLeftAndRightSwapInRTL"] = @(doLeftAndRightSwapInRTL);
2262
+ return d;
2263
+ }) {}
2264
+ inline JS::NativeI18nManager::Constants::Builder::Builder(Constants i) : _factory(^{
2265
+ return i.unsafeRawValue();
2266
+ }) {}
2267
+ inline double JS::NativeImageEditor::OptionsOffset::x() const
2268
+ {
2269
+ id const p = _v[@"x"];
2270
+ return RCTBridgingToDouble(p);
2271
+ }
2272
+ inline double JS::NativeImageEditor::OptionsOffset::y() const
2273
+ {
2274
+ id const p = _v[@"y"];
2275
+ return RCTBridgingToDouble(p);
2276
+ }
2277
+ inline double JS::NativeImageEditor::OptionsSize::width() const
2278
+ {
2279
+ id const p = _v[@"width"];
2280
+ return RCTBridgingToDouble(p);
2281
+ }
2282
+ inline double JS::NativeImageEditor::OptionsSize::height() const
2283
+ {
2284
+ id const p = _v[@"height"];
2285
+ return RCTBridgingToDouble(p);
2286
+ }
2287
+ inline double JS::NativeImageEditor::OptionsDisplaySize::width() const
2288
+ {
2289
+ id const p = _v[@"width"];
2290
+ return RCTBridgingToDouble(p);
2291
+ }
2292
+ inline double JS::NativeImageEditor::OptionsDisplaySize::height() const
2293
+ {
2294
+ id const p = _v[@"height"];
2295
+ return RCTBridgingToDouble(p);
2296
+ }
2297
+ inline JS::NativeImageEditor::OptionsOffset JS::NativeImageEditor::Options::offset() const
2298
+ {
2299
+ id const p = _v[@"offset"];
2300
+ return JS::NativeImageEditor::OptionsOffset(p);
2301
+ }
2302
+ inline JS::NativeImageEditor::OptionsSize JS::NativeImageEditor::Options::size() const
2303
+ {
2304
+ id const p = _v[@"size"];
2305
+ return JS::NativeImageEditor::OptionsSize(p);
2306
+ }
2307
+ inline folly::Optional<JS::NativeImageEditor::OptionsDisplaySize> JS::NativeImageEditor::Options::displaySize() const
2308
+ {
2309
+ id const p = _v[@"displaySize"];
2310
+ return (p == nil ? folly::none : folly::make_optional(JS::NativeImageEditor::OptionsDisplaySize(p)));
2311
+ }
2312
+ inline NSString *JS::NativeImageEditor::Options::resizeMode() const
2313
+ {
2314
+ id const p = _v[@"resizeMode"];
2315
+ return RCTBridgingToOptionalString(p);
2316
+ }
2317
+ inline folly::Optional<bool> JS::NativeImageEditor::Options::allowExternalStorage() const
2318
+ {
2319
+ id const p = _v[@"allowExternalStorage"];
2320
+ return RCTBridgingToOptionalBool(p);
2321
+ }
2322
+
2323
+ inline bool JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig::unmirrorFrontFacingCamera() const
2324
+ {
2325
+ id const p = _v[@"unmirrorFrontFacingCamera"];
2326
+ return RCTBridgingToBool(p);
2327
+ }
2328
+ inline bool JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig::videoMode() const
2329
+ {
2330
+ id const p = _v[@"videoMode"];
2331
+ return RCTBridgingToBool(p);
2332
+ }
2333
+ inline bool JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig::showImages() const
2334
+ {
2335
+ id const p = _v[@"showImages"];
2336
+ return RCTBridgingToBool(p);
2337
+ }
2338
+ inline bool JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig::showVideos() const
2339
+ {
2340
+ id const p = _v[@"showVideos"];
2341
+ return RCTBridgingToBool(p);
2342
+ }
2343
+
2344
+
2345
+
2346
+ inline JS::NativeJSDevSupport::Constants::Builder::Builder(const Input i) : _factory(^{
2347
+ NSMutableDictionary *d = [NSMutableDictionary new];
2348
+ auto ERROR_CODE_EXCEPTION = i.ERROR_CODE_EXCEPTION.get();
2349
+ d[@"ERROR_CODE_EXCEPTION"] = @(ERROR_CODE_EXCEPTION);
2350
+ auto ERROR_CODE_VIEW_NOT_FOUND = i.ERROR_CODE_VIEW_NOT_FOUND.get();
2351
+ d[@"ERROR_CODE_VIEW_NOT_FOUND"] = @(ERROR_CODE_VIEW_NOT_FOUND);
2352
+ return d;
2353
+ }) {}
2354
+ inline JS::NativeJSDevSupport::Constants::Builder::Builder(Constants i) : _factory(^{
2355
+ return i.unsafeRawValue();
2356
+ }) {}
2357
+
2358
+
2359
+
2360
+
2361
+ inline NSString *JS::NativeNetworkingIOS::SpecSendRequestQuery::method() const
2362
+ {
2363
+ id const p = _v[@"method"];
2364
+ return RCTBridgingToString(p);
2365
+ }
2366
+ inline NSString *JS::NativeNetworkingIOS::SpecSendRequestQuery::url() const
2367
+ {
2368
+ id const p = _v[@"url"];
2369
+ return RCTBridgingToString(p);
2370
+ }
2371
+ inline id<NSObject> JS::NativeNetworkingIOS::SpecSendRequestQuery::data() const
2372
+ {
2373
+ id const p = _v[@"data"];
2374
+ return p;
2375
+ }
2376
+ inline id<NSObject> JS::NativeNetworkingIOS::SpecSendRequestQuery::headers() const
2377
+ {
2378
+ id const p = _v[@"headers"];
2379
+ return p;
2380
+ }
2381
+ inline NSString *JS::NativeNetworkingIOS::SpecSendRequestQuery::responseType() const
2382
+ {
2383
+ id const p = _v[@"responseType"];
2384
+ return RCTBridgingToString(p);
2385
+ }
2386
+ inline bool JS::NativeNetworkingIOS::SpecSendRequestQuery::incrementalUpdates() const
2387
+ {
2388
+ id const p = _v[@"incrementalUpdates"];
2389
+ return RCTBridgingToBool(p);
2390
+ }
2391
+ inline double JS::NativeNetworkingIOS::SpecSendRequestQuery::timeout() const
2392
+ {
2393
+ id const p = _v[@"timeout"];
2394
+ return RCTBridgingToDouble(p);
2395
+ }
2396
+ inline bool JS::NativeNetworkingIOS::SpecSendRequestQuery::withCredentials() const
2397
+ {
2398
+ id const p = _v[@"withCredentials"];
2399
+ return RCTBridgingToBool(p);
2400
+ }
2401
+ inline JS::NativePlatformConstantsIOS::ConstantsReactNativeVersion::Builder::Builder(const Input i) : _factory(^{
2402
+ NSMutableDictionary *d = [NSMutableDictionary new];
2403
+ auto major = i.major.get();
2404
+ d[@"major"] = @(major);
2405
+ auto minor = i.minor.get();
2406
+ d[@"minor"] = @(minor);
2407
+ auto patch = i.patch.get();
2408
+ d[@"patch"] = @(patch);
2409
+ auto prerelease = i.prerelease.get();
2410
+ d[@"prerelease"] = prerelease.hasValue() ? @((double)prerelease.value()) : nil;
2411
+ return d;
2412
+ }) {}
2413
+ inline JS::NativePlatformConstantsIOS::ConstantsReactNativeVersion::Builder::Builder(ConstantsReactNativeVersion i) : _factory(^{
2414
+ return i.unsafeRawValue();
2415
+ }) {}
2416
+ inline JS::NativePlatformConstantsIOS::Constants::Builder::Builder(const Input i) : _factory(^{
2417
+ NSMutableDictionary *d = [NSMutableDictionary new];
2418
+ auto isTesting = i.isTesting.get();
2419
+ d[@"isTesting"] = @(isTesting);
2420
+ auto reactNativeVersion = i.reactNativeVersion.get();
2421
+ d[@"reactNativeVersion"] = reactNativeVersion.buildUnsafeRawValue();
2422
+ auto forceTouchAvailable = i.forceTouchAvailable.get();
2423
+ d[@"forceTouchAvailable"] = @(forceTouchAvailable);
2424
+ auto osVersion = i.osVersion.get();
2425
+ d[@"osVersion"] = osVersion;
2426
+ auto systemName = i.systemName.get();
2427
+ d[@"systemName"] = systemName;
2428
+ auto interfaceIdiom = i.interfaceIdiom.get();
2429
+ d[@"interfaceIdiom"] = interfaceIdiom;
2430
+ return d;
2431
+ }) {}
2432
+ inline JS::NativePlatformConstantsIOS::Constants::Builder::Builder(Constants i) : _factory(^{
2433
+ return i.unsafeRawValue();
2434
+ }) {}
2435
+ inline bool JS::NativePushNotificationManagerIOS::SpecRequestPermissionsPermission::alert() const
2436
+ {
2437
+ id const p = _v[@"alert"];
2438
+ return RCTBridgingToBool(p);
2439
+ }
2440
+ inline bool JS::NativePushNotificationManagerIOS::SpecRequestPermissionsPermission::badge() const
2441
+ {
2442
+ id const p = _v[@"badge"];
2443
+ return RCTBridgingToBool(p);
2444
+ }
2445
+ inline bool JS::NativePushNotificationManagerIOS::SpecRequestPermissionsPermission::sound() const
2446
+ {
2447
+ id const p = _v[@"sound"];
2448
+ return RCTBridgingToBool(p);
2449
+ }
2450
+ inline NSString *JS::NativePushNotificationManagerIOS::Notification::alertTitle() const
2451
+ {
2452
+ id const p = _v[@"alertTitle"];
2453
+ return RCTBridgingToOptionalString(p);
2454
+ }
2455
+ inline folly::Optional<double> JS::NativePushNotificationManagerIOS::Notification::fireDate() const
2456
+ {
2457
+ id const p = _v[@"fireDate"];
2458
+ return RCTBridgingToOptionalDouble(p);
2459
+ }
2460
+ inline NSString *JS::NativePushNotificationManagerIOS::Notification::alertBody() const
2461
+ {
2462
+ id const p = _v[@"alertBody"];
2463
+ return RCTBridgingToOptionalString(p);
2464
+ }
2465
+ inline NSString *JS::NativePushNotificationManagerIOS::Notification::alertAction() const
2466
+ {
2467
+ id const p = _v[@"alertAction"];
2468
+ return RCTBridgingToOptionalString(p);
2469
+ }
2470
+ inline id<NSObject> _Nullable JS::NativePushNotificationManagerIOS::Notification::userInfo() const
2471
+ {
2472
+ id const p = _v[@"userInfo"];
2473
+ return p;
2474
+ }
2475
+ inline NSString *JS::NativePushNotificationManagerIOS::Notification::category() const
2476
+ {
2477
+ id const p = _v[@"category"];
2478
+ return RCTBridgingToOptionalString(p);
2479
+ }
2480
+ inline NSString *JS::NativePushNotificationManagerIOS::Notification::repeatInterval() const
2481
+ {
2482
+ id const p = _v[@"repeatInterval"];
2483
+ return RCTBridgingToOptionalString(p);
2484
+ }
2485
+ inline folly::Optional<double> JS::NativePushNotificationManagerIOS::Notification::applicationIconBadgeNumber() const
2486
+ {
2487
+ id const p = _v[@"applicationIconBadgeNumber"];
2488
+ return RCTBridgingToOptionalDouble(p);
2489
+ }
2490
+ inline folly::Optional<bool> JS::NativePushNotificationManagerIOS::Notification::isSilent() const
2491
+ {
2492
+ id const p = _v[@"isSilent"];
2493
+ return RCTBridgingToOptionalBool(p);
2494
+ }
2495
+
2496
+
2497
+ inline JS::NativeSettingsManager::Constants::Builder::Builder(const Input i) : _factory(^{
2498
+ NSMutableDictionary *d = [NSMutableDictionary new];
2499
+ auto settings = i.settings.get();
2500
+ d[@"settings"] = settings;
2501
+ return d;
2502
+ }) {}
2503
+ inline JS::NativeSettingsManager::Constants::Builder::Builder(Constants i) : _factory(^{
2504
+ return i.unsafeRawValue();
2505
+ }) {}
2506
+ inline NSString *JS::NativeShareModule::SpecShareContent::title() const
2507
+ {
2508
+ id const p = _v[@"title"];
2509
+ return RCTBridgingToOptionalString(p);
2510
+ }
2511
+ inline NSString *JS::NativeShareModule::SpecShareContent::message() const
2512
+ {
2513
+ id const p = _v[@"message"];
2514
+ return RCTBridgingToOptionalString(p);
2515
+ }
2516
+
2517
+ inline JS::NativeSourceCode::Constants::Builder::Builder(const Input i) : _factory(^{
2518
+ NSMutableDictionary *d = [NSMutableDictionary new];
2519
+ auto scriptURL = i.scriptURL.get();
2520
+ d[@"scriptURL"] = scriptURL;
2521
+ return d;
2522
+ }) {}
2523
+ inline JS::NativeSourceCode::Constants::Builder::Builder(Constants i) : _factory(^{
2524
+ return i.unsafeRawValue();
2525
+ }) {}
2526
+ inline JS::NativeStatusBarManagerIOS::Constants::Builder::Builder(const Input i) : _factory(^{
2527
+ NSMutableDictionary *d = [NSMutableDictionary new];
2528
+ auto HEIGHT = i.HEIGHT.get();
2529
+ d[@"HEIGHT"] = @(HEIGHT);
2530
+ auto DEFAULT_BACKGROUND_COLOR = i.DEFAULT_BACKGROUND_COLOR;
2531
+ d[@"DEFAULT_BACKGROUND_COLOR"] = DEFAULT_BACKGROUND_COLOR.hasValue() ? @((double)DEFAULT_BACKGROUND_COLOR.value()) : nil;
2532
+ return d;
2533
+ }) {}
2534
+ inline JS::NativeStatusBarManagerIOS::Constants::Builder::Builder(Constants i) : _factory(^{
2535
+ return i.unsafeRawValue();
2536
+ }) {}
2537
+
2538
+
2539
+ inline id<NSObject> _Nullable JS::NativeWebSocketModule::SpecConnectOptions::headers() const
2540
+ {
2541
+ id const p = _v[@"headers"];
2542
+ return p;
2543
+ }