-
public interface ReactInstanceDevHelperInterface used by DevSupportManager for accessing some fields and methods of or ReactHost for the purpose of displaying and handling developer menu options.
-
-
Method Summary
Modifier and Type Method Description abstract voidonReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory)Request react instance recreation with JS debugging enabled. abstract voidonJSBundleLoadedFromServer()Notify react instance manager about new JS bundle version downloaded from the server. abstract voidtoggleElementInspector()Request to toggle the react element inspector. abstract ActivitygetCurrentActivity()Get reference to top level #{link Activity} attached to react context abstract JavaScriptExecutorFactorygetJavaScriptExecutorFactory()abstract ViewcreateRootView(String appKey)abstract voiddestroyRootView(View rootView)-
-
Method Detail
-
onReloadWithJSDebugger
abstract void onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory)
Request react instance recreation with JS debugging enabled.
-
onJSBundleLoadedFromServer
abstract void onJSBundleLoadedFromServer()
Notify react instance manager about new JS bundle version downloaded from the server.
-
toggleElementInspector
abstract void toggleElementInspector()
Request to toggle the react element inspector.
-
getCurrentActivity
@Nullable() abstract Activity getCurrentActivity()
Get reference to top level #{link Activity} attached to react context
-
getJavaScriptExecutorFactory
abstract JavaScriptExecutorFactory getJavaScriptExecutorFactory()
-
createRootView
@Nullable() abstract View createRootView(String appKey)
-
destroyRootView
abstract void destroyRootView(View rootView)
-
-
-
-