-
- 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 interfaceJSDevSupport.JSDevSupportModulepublic interfaceJSDevSupport.DevSupportCallback
-
Field Summary
Fields Modifier and Type Field Description public final static StringMODULE_NAMEpublic final static intERROR_CODE_EXCEPTIONpublic final static intERROR_CODE_VIEW_NOT_FOUND
-
Constructor Summary
Constructors Constructor Description JSDevSupport(ReactApplicationContext reactContext)
-
Method Summary
Modifier and Type Method Description synchronized voidcomputeDeepestJSHierarchy(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 voidgetJSHierarchy(int reactTag, JSDevSupport.DevSupportCallback callback)synchronized voidonSuccess(String data)synchronized voidonFailure(double errorCodeDouble, String error)Map<String, Object>getTypedExportedConstants()StringgetName()-
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()
-
-
-
-