com.supermap.data

Interface RecycleLicenseManager.RecycleLicenseCallback

  • Enclosing class:
    RecycleLicenseManager


    public static interface RecycleLicenseManager.RecycleLicenseCallback
    The recycle license activation callback interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void activateFailed(java.lang.String errorInfo)
      Trigger when failed to activate
      void bandPhoneNumberFailed(java.lang.String errorInfo)
      Trigger when failed to bind
      void otherErrors(java.lang.String errorInfo)
      Callback when an unknown error occurs.
      void queryLicenseCount(org.json.JSONArray LicenseCount)
      Returns the number of licenses
      void queryResult(java.util.ArrayList<Module> arrModules)
      Callback when successfully query, and return available modules under this license
      void recycleLicenseFailed(java.lang.String errorInfo)
      Trigger when license is failed to return
      void success(LicenseStatus newLicStatus)
      Call this API if successfully activated, binded or recycled, and return current license status.
      void upgradeFailed(java.lang.String errorInfo)
      Trigger when failed to upgrade license
    • Method Detail

      • success

        void success(LicenseStatus newLicStatus)
        Call this API if successfully activated, binded or recycled, and return current license status.
        Parameters:
        newLicStatus - the license status
      • activateFailed

        void activateFailed(java.lang.String errorInfo)
        Trigger when failed to activate
        Parameters:
        errorInfo - The activation failure information
      • recycleLicenseFailed

        void recycleLicenseFailed(java.lang.String errorInfo)
        Trigger when license is failed to return
        Parameters:
        errorInfo - The return failure information
      • bandPhoneNumberFailed

        void bandPhoneNumberFailed(java.lang.String errorInfo)
        Trigger when failed to bind
        Parameters:
        errorInfo - The bind failure information
      • upgradeFailed

        void upgradeFailed(java.lang.String errorInfo)
        Trigger when failed to upgrade license
        Parameters:
        errorInfo - The upgrade failure information
      • queryResult

        void queryResult(java.util.ArrayList<Module> arrModules)
        Callback when successfully query, and return available modules under this license
        Parameters:
        arrModules - the available module list
      • otherErrors

        void otherErrors(java.lang.String errorInfo)
        Callback when an unknown error occurs.
        Parameters:
        errorInfo - Error information
      • queryLicenseCount

        void queryLicenseCount(org.json.JSONArray LicenseCount)
        Returns the number of licenses
        Parameters:
        LicenseCount - Returns the number of licenses