-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule
,com.facebook.react.bridge.ReactModuleWithSpec
,com.facebook.react.turbomodule.core.interfaces.TurboModule
public class JSDevSupport extends NativeJSDevSupportSpec
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
JSDevSupport.JSDevSupportModule
public interface
JSDevSupport.DevSupportCallback
-
Field Summary
Fields Modifier and Type Field Description public final static String
MODULE_NAME
public final static int
ERROR_CODE_EXCEPTION
public final static int
ERROR_CODE_VIEW_NOT_FOUND
-
Constructor Summary
Constructors Constructor Description JSDevSupport(ReactApplicationContext reactContext)
-
Method Summary
Modifier and Type Method Description synchronized void
computeDeepestJSHierarchy(View root, JSDevSupport.DevSupportCallback callback)
Notifies the callback with either the JS hierarchy of the deepest leaf from the given root viewor with an error. synchronized void
getJSHierarchy(int reactTag, JSDevSupport.DevSupportCallback callback)
synchronized void
onSuccess(String data)
synchronized void
onFailure(double errorCodeDouble, String error)
Map<String, Object>
getTypedExportedConstants()
String
getName()
-
Methods inherited from class com.facebook.fbreact.specs.NativeJSDevSupportSpec
getConstants, onFailure
-
Methods inherited from class com.facebook.react.bridge.BaseJavaModule
canOverrideExistingModule, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
JSDevSupport
JSDevSupport(ReactApplicationContext reactContext)
-
-
Method Detail
-
computeDeepestJSHierarchy
synchronized void computeDeepestJSHierarchy(View root, JSDevSupport.DevSupportCallback callback)
Notifies the callback with either the JS hierarchy of the deepest leaf from the given root viewor with an error.
-
getJSHierarchy
synchronized void getJSHierarchy(int reactTag, JSDevSupport.DevSupportCallback callback)
-
getTypedExportedConstants
Map<String, Object> getTypedExportedConstants()
-
-
-
-