public static interface CloudLicenseManager.LicenseLoginCallback
限定符和类型 | 方法和说明 |
---|---|
void |
activeLicense(java.lang.String returnId)
激活激活后,会生成一个returnId,归还许可时必须用到此id
|
void |
loginAccount(boolean issuccess)
登录回调接口,true为登录成功
|
void |
logoutAccount(boolean logout)
退出online登录回调接口
|
void |
otherError(java.lang.String error)
错误信息
|
void |
queryLicense(QueryFormalLicenseResponse queryFormalLicenseResponse)
查询许可
|
void |
recycleLicense(int days)
归还许可,如果归还失败,返回-1
|
void loginAccount(boolean issuccess)
issuccess
- 是否成功void logoutAccount(boolean logout)
logout
- 是否退出。退出成功返回truevoid queryLicense(QueryFormalLicenseResponse queryFormalLicenseResponse)
queryFormalLicenseResponse
- 许可信息void activeLicense(java.lang.String returnId)
returnId
- 许可归还idvoid recycleLicense(int days)
days
- 归还成功天数void otherError(java.lang.String error)
error
- 错误日志