public class RNGlobalConfig
extends java.lang.Object
Constructor and Description |
---|
RNGlobalConfig() |
Modifier and Type | Method and Description |
---|---|
static void |
addBizPackage(ReactPackage reactPackage)
添加 ReactPackage
参考 BizPackageHolder |
static BizPackageHolder |
getBizPackageHolder()
获取 BizPackageHolder
|
static CacheHolder |
getCacheHolder() |
static LaunchOptionsFactoryHolder |
getLaunchOptionsFactoryHolder() |
static void |
setCache(Cache cache) |
static void |
setLaunchOptionsFactory(LaunchOptionsFactory launchOptionsFactory) |
public static CacheHolder getCacheHolder()
public static void setCache(Cache cache)
public static BizPackageHolder getBizPackageHolder()
public static void addBizPackage(ReactPackage reactPackage)
BizPackageHolder
reactPackage
- 如果为 null, 则本地调用不起效public static LaunchOptionsFactoryHolder getLaunchOptionsFactoryHolder()
public static void setLaunchOptionsFactory(LaunchOptionsFactory launchOptionsFactory)