Class AppUpdates.UpdateInfo
java.lang.Object
com.codename1.system.AppUpdates.UpdateInfo
- Enclosing class:
AppUpdates
The result of
#check(SuccessCallback).-
Constructor Summary
ConstructorsConstructorDescriptionUpdateInfo(boolean available, String storeVersion, String storeUrl) Creates a result. -
Method Summary
Modifier and TypeMethodDescriptionThe store page of the app.The version in the store.booleanTrue when the store has a newer version.
-
Constructor Details
-
UpdateInfo
-
-
Method Details
-
isUpdateAvailable
public boolean isUpdateAvailable()True when the store has a newer version.
Returns
true when an update is available
-
getStoreVersion
The version in the store.
Returns
the version string, or null when the platform does not say
-
getStoreUrl
The store page of the app.
Returns
the URL, or null
-