mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Separate findMethods from BaseJavaModule
Reviewed By: javache Differential Revision: D4795087 fbshipit-source-id: 6d135a409d463940a5a0aabbc85682ed61420ae3
This commit is contained in:
committed by
Facebook Github Bot
parent
8591d8ae71
commit
678679e009
@@ -9,6 +9,9 @@
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
@@ -30,11 +33,6 @@ public interface NativeModule {
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* @return methods callable from JS on this module
|
||||
*/
|
||||
Map<String, NativeMethod> getMethods();
|
||||
|
||||
/**
|
||||
* This is called at the end of {@link CatalystApplicationFragment#createCatalystInstance()}
|
||||
* after the CatalystInstance has been created, in order to initialize NativeModules that require
|
||||
|
||||
Reference in New Issue
Block a user