EasyAppInstaller class
Methods
-
cancelDownload(String cancelTag)
→ Future<void>
-
取消下载中的任务
-
dispose()
→ void
-
销毁资源
-
downloadAndInstallApk({required String fileUrl, required String fileDirectory, required String fileName, bool isDeleteOriginalFile = true, String? explainContent, String? positiveText, String? negativeText, dynamic onDownloadingListener(double progress)?, dynamic onCancelTagListener(String cancelTag)?, OnStateChangeListener? onStateListener})
→ Future<bool>
-
下载APK到沙盒目录下,并执行安装操作
-
installApk(String filePath, {String? explainContent, String? positiveText, String? negativeText})
→ Future<String>
-
安装apk,内部已处理 '允许应用内安装其他应用' 权限
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openAppMarket({String applicationPackageName = "", String targetMarketPackageName = "", bool isOpenSystemMarket = true})
→ Future<bool>
-
打开应用市场-当前应用详情页面
-
openAppSettingDetails({String applicationPackageName = ""})
→ Future<bool>
-
打开设置-指定应用详情页
-
toString()
→ String
-
A string representation of this object.
inherited