Interface OpenAddonRequest.Callback

Enclosing class:
OpenAddonRequest

public static interface OpenAddonRequest.Callback
Receives the asynchronous result of an OpenAddonRequest.
  • Method Details

    • onSuccess

      void onSuccess(List<String> opened, List<String> notFound)
      Called after the request has been processed.

      The opened list may be empty when none of the add-on entry points are currently available.

      Parameters:
      opened - entry point class names that were found and enabled
      notFound - entry point class names that were not found
    • onIssue

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