Interface UpdateCallback
public interface UpdateCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoidupdateAvailable(String newVersion, String downloadUrl, boolean canAutoDownload) Called when a new version was foundvoidupToDate()Called when no update was found
-
Method Details
-
updateAvailable
Called when a new version was foundUse
SpigetUpdateAbstract.getLatestResourceInfo()to get all resource details- Parameters:
newVersion- the new version's namedownloadUrl- URL to download the updatecanAutoDownload- whether this update can be downloaded automatically
-
upToDate
void upToDate()Called when no update was found
-