public interface LiveCloudPluginCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onCancel(Context context,
java.lang.String plugin)
插件安装被取消
|
void |
onComplete(Context context,
java.lang.String plugin,
boolean background,
int result)
插件安装完成
|
void |
onProgress(Context context,
java.lang.String plugin,
int progress)
插件下载/安装进度
|
void |
onStart(Context context,
java.lang.String plugin)
开始下载插件
|
void onStart(Context context,
java.lang.String plugin)
context - contextplugin - 插件类型void onProgress(Context context,
java.lang.String plugin,
int progress)
context - contextplugin - 插件类型progress - 进度,范围(0~100)void onComplete(Context context,
java.lang.String plugin,
boolean background,
int result)
context - contextplugin - 插件类型background - 是否后台安装result - 错误码,参见LiveCloudPluginConstant.ERROR_UNKNOWN等void onCancel(Context context,
java.lang.String plugin)
context - contextplugin - 插件类型