RUpgrade class

Constructors

RUpgrade()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

androidStores Future<List<AndroidStore>?>
Android
no setter
stream Stream<DownloadInfo>
Android
no setter

Static Methods

cancel(int id) Future<bool?>
Android
getDownloadStatus(int id) Future<DownloadStatus?>
Android
getLastUpgradedId() Future<int?>
Android
getVersionFromAndroidStore(AndroidStore store) Future<String?>
Android
getVersionFromAppStore(String appId, [bool isChina = true]) Future<String?>
IOS
install(int id, {RUpgradeInstallType installType = RUpgradeInstallType.normal}) Future<bool?>
Android
installByPath(String path, {RUpgradeFlavor flavor = RUpgradeFlavor.normal, RUpgradeInstallType installType = RUpgradeInstallType.normal}) Future<bool?>
Android
pause(int id) Future<bool?>
Android
setDebug(bool isDebug) Future<void>
isDebug is true will print log.
upgrade(String url, {Map<String, String>? header, String? fileName, NotificationVisibility notificationVisibility = NotificationVisibility.VISIBILITY_VISIBLE, NotificationStyle notificationStyle = NotificationStyle.planTime, RUpgradeInstallType installType = RUpgradeInstallType.normal, bool useDownloadManager = false, RUpgradeFlavor upgradeFlavor = RUpgradeFlavor.normal}) Future<int?>
Android
upgradeFromAndroidStore(AndroidStore store) Future<bool?>
Android
upgradeFromAppStore(String appId, [bool isChina = true]) Future<bool?>
IOS
upgradeFromUrl(String url) Future<bool?>
Android and IOS
upgradeWithId(int id, {NotificationVisibility notificationVisibility = NotificationVisibility.VISIBILITY_VISIBLE, RUpgradeInstallType installType = RUpgradeInstallType.normal}) Future<bool?>
Android