com.supermap.data
Interface RecycleLicenseManager.RecycleLicenseCallback
-
- Enclosing class:
- RecycleLicenseManager
public static interface RecycleLicenseManager.RecycleLicenseCallbackThe recycle license activation callback interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidactivateFailed(java.lang.String errorInfo)Trigger when failed to activatevoidbandPhoneNumberFailed(java.lang.String errorInfo)Trigger when failed to bindvoidotherErrors(java.lang.String errorInfo)Callback when an unknown error occurs.voidqueryLicenseCount(org.json.JSONArray LicenseCount)Returns the number of licensesvoidqueryResult(java.util.ArrayList<Module> arrModules)Callback when successfully query, and return available modules under this licensevoidrecycleLicenseFailed(java.lang.String errorInfo)Trigger when license is failed to returnvoidsuccess(LicenseStatus newLicStatus)Call this API if successfully activated, binded or recycled, and return current license status.voidupgradeFailed(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
-
-