-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule,com.facebook.react.bridge.ReactModuleWithSpec,com.facebook.react.turbomodule.core.interfaces.TurboModule
public abstract class NativeDevSettingsSpec extends ReactContextBaseJavaModule implements ReactModuleWithSpec, TurboModule
-
-
Constructor Summary
Constructors Constructor Description NativeDevSettingsSpec(ReactApplicationContext reactContext)
-
Method Summary
Modifier and Type Method Description abstract voidreload()voidreloadWithReason(String reason)voidonFastRefresh()abstract voidsetHotLoadingEnabled(boolean isHotLoadingEnabled)abstract voidsetIsDebuggingRemotely(boolean isDebuggingRemotelyEnabled)abstract voidsetProfilingEnabled(boolean isProfilingEnabled)abstract voidtoggleElementInspector()abstract voidaddMenuItem(String title)abstract voidaddListener(String eventName)abstract voidremoveListeners(double count)abstract voidsetIsShakeToShowDevMenuEnabled(boolean enabled)-
Methods inherited from class com.facebook.react.bridge.BaseJavaModule
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy -
Methods inherited from class com.facebook.react.bridge.NativeModule
getName -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NativeDevSettingsSpec
NativeDevSettingsSpec(ReactApplicationContext reactContext)
-
-
Method Detail
-
reload
abstract void reload()
-
reloadWithReason
void reloadWithReason(String reason)
-
onFastRefresh
void onFastRefresh()
-
setHotLoadingEnabled
abstract void setHotLoadingEnabled(boolean isHotLoadingEnabled)
-
setIsDebuggingRemotely
abstract void setIsDebuggingRemotely(boolean isDebuggingRemotelyEnabled)
-
setProfilingEnabled
abstract void setProfilingEnabled(boolean isProfilingEnabled)
-
toggleElementInspector
abstract void toggleElementInspector()
-
addMenuItem
abstract void addMenuItem(String title)
-
addListener
abstract void addListener(String eventName)
-
removeListeners
abstract void removeListeners(double count)
-
setIsShakeToShowDevMenuEnabled
abstract void setIsShakeToShowDevMenuEnabled(boolean enabled)
-
-
-
-