-
- 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 StringgetName()voidreload()voidreloadWithReason(String reason)voidonFastRefresh()voidsetHotLoadingEnabled(boolean isHotLoadingEnabled)voidsetIsDebuggingRemotely(boolean isDebugginRemotelyEnabled)voidsetProfilingEnabled(boolean isProfilingEnabled)voidtoggleElementInspector()voidaddMenuItem(String title)voidsetIsShakeToShowDevMenuEnabled(boolean enabled)voidaddListener(String eventName)voidremoveListeners(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)
-
-
-
-