public class CatalystInstance
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalystInstance.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
addBridgeIdleDebugListener(NotThreadSafeBridgeIdleDebugListener listener)
Adds a idle listener for this Catalyst instance.
|
ReactBridge |
getBridge() |
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 |
initialize()
Initialize all the native modules
|
boolean |
isDestroyed() |
void |
removeBridgeIdleDebugListener(NotThreadSafeBridgeIdleDebugListener listener)
Removes a NotThreadSafeBridgeIdleDebugListener previously added with
addBridgeIdleDebugListener(com.facebook.react.bridge.NotThreadSafeBridgeIdleDebugListener) |
void |
runJSBundle() |
public void runJSBundle()
public boolean isDestroyed()
public void initialize()
public CatalystQueueConfiguration getCatalystQueueConfiguration()
@Nullable public ReactBridge getBridge()
public <T extends JavaScriptModule> T getJSModule(java.lang.Class<T> jsInterface)
public <T extends NativeModule> T getNativeModule(java.lang.Class<T> nativeModuleInterface)
public java.util.Collection<NativeModule> getNativeModules()
public void addBridgeIdleDebugListener(NotThreadSafeBridgeIdleDebugListener listener)
public void removeBridgeIdleDebugListener(NotThreadSafeBridgeIdleDebugListener listener)
addBridgeIdleDebugListener(com.facebook.react.bridge.NotThreadSafeBridgeIdleDebugListener)