-
- 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 void
reload()
void
reloadWithReason(String reason)
void
onFastRefresh()
abstract void
setHotLoadingEnabled(boolean isHotLoadingEnabled)
abstract void
setIsDebuggingRemotely(boolean isDebuggingRemotelyEnabled)
abstract void
setProfilingEnabled(boolean isProfilingEnabled)
abstract void
toggleElementInspector()
abstract void
addMenuItem(String title)
abstract void
addListener(String eventName)
abstract void
removeListeners(double count)
abstract void
setIsShakeToShowDevMenuEnabled(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)
-
-
-
-