public class DefaultUpdatePrompter extends java.lang.Object implements IUpdatePrompter
| Constructor and Description |
|---|
DefaultUpdatePrompter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeShowPrompt(UpdateEntity updateEntity,
PromptEntity promptEntity)
显示版本更新提示之前的处理【可自定义属于自己的显示逻辑】
|
void |
showPrompt(UpdateEntity updateEntity,
IUpdateProxy updateProxy,
PromptEntity promptEntity)
显示版本更新提示
|
public void showPrompt(UpdateEntity updateEntity, IUpdateProxy updateProxy, PromptEntity promptEntity)
showPrompt in interface IUpdatePrompterupdateEntity - 更新信息updateProxy - 更新代理promptEntity - 提示界面参数protected void beforeShowPrompt(UpdateEntity updateEntity, PromptEntity promptEntity)
updateEntity - 更新信息promptEntity - 提示界面参数