We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
提供一个安装策略。便于针对不同的应用场景。定制不同的安装策略实现。
[UpdateConfig.getConfig()/UpdateBuilder.create()] .setInstallStrategy(installStrategy)
InstallStrategy
DefaultInstallStrategy
public class CustomInstallStrategy extends InstallStrategy{ @Override public void install(Context context, String filename, Update update) { // 对apk文件filename执行安装操作 } }