public interface UpdateCallback
| Modifier and Type | Method and Description |
|---|---|
void |
updateAvailable(String newVersion,
String downloadUrl,
boolean canAutoDownload)
Called when a new version was found
Use
SpigetUpdateAbstract.getLatestResourceInfo() to get all resource details |
void |
upToDate()
Called when no update was found
|
void updateAvailable(String newVersion, String downloadUrl, boolean canAutoDownload)
Use SpigetUpdateAbstract.getLatestResourceInfo() to get all resource details
newVersion - the new version's namedownloadUrl - URL to download the updatecanAutoDownload - whether this update can be downloaded automaticallyvoid upToDate()
Copyright © 2021. All rights reserved.