public class NativeDevSplitBundleLoaderModule extends NativeDevSplitBundleLoaderSpec
NativeModule.NativeMethod
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
METHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC
Constructor and Description |
---|
NativeDevSplitBundleLoaderModule(ReactApplicationContext reactContext,
DevSupportManager devSupportManager) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
loadBundle(java.lang.String bundlePath,
Promise promise) |
getCurrentActivity, getReactApplicationContext, getReactApplicationContextIfActiveOrWarn
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invalidate
public static final java.lang.String NAME
public NativeDevSplitBundleLoaderModule(ReactApplicationContext reactContext, DevSupportManager devSupportManager)
public void loadBundle(java.lang.String bundlePath, Promise promise)
loadBundle
in class NativeDevSplitBundleLoaderSpec
public java.lang.String getName()
require()
this module
from javascript.