AppUpgradePlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- AppUpgradePlatform
- Implementers
Constructors
- AppUpgradePlatform()
- Constructs a AppUpgradePlatform.
Properties
-
apkDownloadPath
→ Future<
String> -
获取 apk 下载路径
no setter
-
appInfo
→ Future<
AppInfo> -
获取 App 信息
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getInstallMarket(
{List< String> ? marketPackageNames}) → Future<List< String> > - 获取android手机上安装的应用商店
-
installAppForAndroid(
String path) → Future< void> - Android 安装 app
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAppStore(
String id) → Future< void> - 跳转 App Store
-
toMarket(
{AppMarketInfo? appMarketInfo}) → Future< void> - 跳转到应用商店
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AppUpgradePlatform
-
The default instance of AppUpgradePlatform to use.
getter/setter pair