Interface DownloadPluginRequest.Callback

Enclosing class:
DownloadPluginRequest

public static interface DownloadPluginRequest.Callback
Receives outcomes reported directly by a DownloadPluginRequest.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the request reports an issue.
    void
    onSuccess(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

      void onIssue(DownloadPluginRequest.Issue issue)
      Called when the request reports an issue.
      Parameters:
      issue - reported issue