public class RNGlobalConfig
extends java.lang.Object
构造器和说明 |
---|
RNGlobalConfig() |
限定符和类型 | 方法和说明 |
---|---|
static void |
addBizPackage(com.facebook.react.ReactPackage reactPackage)
添加 ReactPackage
参考 BizPackageHolder |
static com.aliyun.alink.alirn.rnpackage.biz.BizPackageHolder |
getBizPackageHolder()
获取 BizPackageHolder
|
static com.aliyun.alink.alirn.cache.CacheHolder |
getCacheHolder() |
static com.aliyun.alink.alirn.launch.LaunchOptionsFactoryHolder |
getLaunchOptionsFactoryHolder() |
static void |
setCache(com.aliyun.alink.alirn.cache.Cache cache) |
static void |
setLaunchOptionsFactory(com.aliyun.alink.alirn.launch.LaunchOptionsFactory launchOptionsFactory) |
public static com.aliyun.alink.alirn.cache.CacheHolder getCacheHolder()
public static void setCache(com.aliyun.alink.alirn.cache.Cache cache)
public static com.aliyun.alink.alirn.rnpackage.biz.BizPackageHolder getBizPackageHolder()
public static void addBizPackage(com.facebook.react.ReactPackage reactPackage)
BizPackageHolder
reactPackage
- 如果为 null, 则本地调用不起效public static com.aliyun.alink.alirn.launch.LaunchOptionsFactoryHolder getLaunchOptionsFactoryHolder()
public static void setLaunchOptionsFactory(com.aliyun.alink.alirn.launch.LaunchOptionsFactory launchOptionsFactory)