| Constructor and Description |
|---|
LicenseImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addLicense(String deviceType,
org.wso2.carbon.device.mgt.common.license.mgt.License license)
This method is used to add license to a specific device type.
|
javax.ws.rs.core.Response |
getLicense(String deviceType,
String languageCode)
This method returns the license text related to a given device type and language code.
|
public javax.ws.rs.core.Response getLicense(String deviceType, String languageCode)
getLicense in interface LicensedeviceType - Device type, ex: android, ioslanguageCode - Language code, ex: en_USpublic javax.ws.rs.core.Response addLicense(String deviceType, org.wso2.carbon.device.mgt.common.license.mgt.License license)
addLicense in interface LicensedeviceType - Device type, ex: android, ioslicense - License objectCopyright © 2016 WSO2. All rights reserved.