public class InitializationHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
mPluginVersions |
static boolean |
showDebugInfo |
Constructor and Description |
---|
InitializationHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
initialize(Context context,
java.lang.String pluginEnv,
java.lang.String serverEnv,
java.lang.String language)
初始化
|
static void |
isShowDebugInfo(boolean showDebugInfo)
显示插件bundle 信息
|
static void |
setPluginVersion(java.lang.String pk,
java.lang.String version) |
public static boolean showDebugInfo
public static java.util.Map<java.lang.String,java.lang.String> mPluginVersions
public static void setPluginVersion(java.lang.String pk, java.lang.String version)
public static void isShowDebugInfo(boolean showDebugInfo)
showDebugInfo
- public static void initialize(Context context, java.lang.String pluginEnv, java.lang.String serverEnv, java.lang.String language)
context
- 上下文pluginEnv
- 插件环境: "release" 代表生产环境,"test" 代表开发环境serverEnv
- API 通道环境:"production" 代表生产环境, 暂时仅支持生产环境