public interface CatalystInstance
| Modifier and Type | Method and Description |
|---|---|
void |
addBridgeIdleDebugListener(NotThreadSafeBridgeIdleDebugListener listener)
Adds a idle listener for this Catalyst instance.
|
void |
destroy()
Destroys this catalyst instance, waiting for any other threads in CatalystQueueConfiguration
(besides the UI thread) to finish running.
|
CatalystQueueConfiguration |
getCatalystQueueConfiguration() |
<T extends JavaScriptModule> |
getJSModule(java.lang.Class<T> jsInterface) |
<T extends NativeModule> |
getNativeModule(java.lang.Class<T> nativeModuleInterface) |
java.util.Collection<NativeModule> |
getNativeModules() |
void |
handleMemoryPressure(MemoryPressure level) |
void |
initialize()
Initialize all the native modules
|
void |
invokeCallback(int callbackID,
NativeArray arguments) |
boolean |
isDestroyed() |
void |
removeBridgeIdleDebugListener(NotThreadSafeBridgeIdleDebugListener listener)
Removes a NotThreadSafeBridgeIdleDebugListener previously added with
addBridgeIdleDebugListener(com.facebook.react.bridge.NotThreadSafeBridgeIdleDebugListener) |
void |
runJSBundle() |
void |
startProfiler(java.lang.String title) |
void |
stopProfiler(java.lang.String title,
java.lang.String filename) |
boolean |
supportsProfiling() |
void runJSBundle()
void invokeCallback(int callbackID,
NativeArray arguments)
void destroy()
boolean isDestroyed()
void initialize()
CatalystQueueConfiguration getCatalystQueueConfiguration()
<T extends JavaScriptModule> T getJSModule(java.lang.Class<T> jsInterface)
<T extends NativeModule> T getNativeModule(java.lang.Class<T> nativeModuleInterface)
java.util.Collection<NativeModule> getNativeModules()
void handleMemoryPressure(MemoryPressure level)
void addBridgeIdleDebugListener(NotThreadSafeBridgeIdleDebugListener listener)
void removeBridgeIdleDebugListener(NotThreadSafeBridgeIdleDebugListener listener)
addBridgeIdleDebugListener(com.facebook.react.bridge.NotThreadSafeBridgeIdleDebugListener)boolean supportsProfiling()
void startProfiler(java.lang.String title)
void stopProfiler(java.lang.String title,
java.lang.String filename)