xref: /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Base/ABI49_0_0RCTModuleMethod.h (revision af2ec015)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) Meta Platforms, Inc. and 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 
8 #import <Foundation/Foundation.h>
9 
10 #import <ABI49_0_0React/ABI49_0_0RCTBridgeMethod.h>
11 #import <ABI49_0_0React/ABI49_0_0RCTBridgeModule.h>
12 #import <ABI49_0_0React/ABI49_0_0RCTNullability.h>
13 
14 @class ABI49_0_0RCTBridge;
15 
16 @interface ABI49_0_0RCTMethodArgument : NSObject
17 
18 @property (nonatomic, copy, readonly) NSString *type;
19 @property (nonatomic, readonly) ABI49_0_0RCTNullability nullability;
20 @property (nonatomic, readonly) BOOL unused;
21 
22 @end
23 
24 @interface ABI49_0_0RCTModuleMethod : NSObject <ABI49_0_0RCTBridgeMethod>
25 
26 @property (nonatomic, readonly) Class moduleClass;
27 @property (nonatomic, readonly) SEL selector;
28 
29 - (instancetype)initWithExportedMethod:(const ABI49_0_0RCTMethodInfo *)exportMethod
30                            moduleClass:(Class)moduleClass NS_DESIGNATED_INITIALIZER;
31 
32 @end
33 
34 ABI49_0_0RCT_EXTERN NSString *ABI49_0_0RCTParseMethodSignature(const char *input, NSArray<ABI49_0_0RCTMethodArgument *> **arguments);
35 

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025