-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule.NativeMethod
public class JavaMethodWrapper implements NativeModule.NativeMethod
-
-
Constructor Summary
Constructors Constructor Description JavaMethodWrapper(JavaModuleWrapper module, Method method, boolean isSync)
-
Method Summary
Modifier and Type Method Description Method
getMethod()
String
getSignature()
void
invoke(JSInstance jsInstance, ReadableArray parameters)
String
getType()
Determines how the method is exported in JavaScript: METHOD_TYPE_ASYNC for regular methodsMETHOD_TYPE_PROMISE for methods that return a promise object to the caller. -
-
Constructor Detail
-
JavaMethodWrapper
JavaMethodWrapper(JavaModuleWrapper module, Method method, boolean isSync)
-
-
Method Detail
-
getSignature
String getSignature()
-
invoke
void invoke(JSInstance jsInstance, ReadableArray parameters)
-
-
-
-