-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule
,com.facebook.react.bridge.ReactModuleWithSpec
,com.facebook.react.turbomodule.core.interfaces.TurboModule
public class DevSettingsModule extends NativeDevSettingsSpec
Module that exposes the URL to the source code map (used for exception stack trace parsing) to JS
-
-
Constructor Summary
Constructors Constructor Description DevSettingsModule(ReactApplicationContext reactContext, DevSupportManager devSupportManager)
-
Method Summary
Modifier and Type Method Description String
getName()
void
reload()
void
reloadWithReason(String reason)
void
onFastRefresh()
void
setHotLoadingEnabled(boolean isHotLoadingEnabled)
void
setIsDebuggingRemotely(boolean isDebugginRemotelyEnabled)
void
setProfilingEnabled(boolean isProfilingEnabled)
void
toggleElementInspector()
void
addMenuItem(String title)
void
setIsShakeToShowDevMenuEnabled(boolean enabled)
void
addListener(String eventName)
void
removeListeners(double count)
-
Methods inherited from class com.facebook.fbreact.specs.NativeDevSettingsSpec
addMenuItem, setIsDebuggingRemotely
-
Methods inherited from class com.facebook.react.bridge.BaseJavaModule
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DevSettingsModule
DevSettingsModule(ReactApplicationContext reactContext, DevSupportManager devSupportManager)
-
-
Method Detail
-
reload
void reload()
-
reloadWithReason
void reloadWithReason(String reason)
-
onFastRefresh
void onFastRefresh()
-
setHotLoadingEnabled
void setHotLoadingEnabled(boolean isHotLoadingEnabled)
-
setIsDebuggingRemotely
void setIsDebuggingRemotely(boolean isDebugginRemotelyEnabled)
-
setProfilingEnabled
void setProfilingEnabled(boolean isProfilingEnabled)
-
toggleElementInspector
void toggleElementInspector()
-
addMenuItem
void addMenuItem(String title)
-
setIsShakeToShowDevMenuEnabled
void setIsShakeToShowDevMenuEnabled(boolean enabled)
-
addListener
void addListener(String eventName)
-
removeListeners
void removeListeners(double count)
-
-
-
-