Package velox.api.layer1.messages.plugin
Interface DownloadPluginRequest.Callback
- Enclosing class:
DownloadPluginRequest
public static interface DownloadPluginRequest.Callback
Receives outcomes reported directly by a
DownloadPluginRequest.-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the request reports an issue.voidonSuccess(boolean needRestart) Called after the plugin is downloaded and installed successfully.
-
Method Details
-
onSuccess
void onSuccess(boolean needRestart) Called after the plugin is downloaded and installed successfully.- Parameters:
needRestart- whether Bookmap must be restarted to finish the installation
-
onIssue
Called when the request reports an issue.- Parameters:
issue- reported issue
-