public interface License
| 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.
|
javax.ws.rs.core.Response getLicense(String deviceType, String languageCode)
deviceType - Device type, ex: android, ioslanguageCode - Language code, ex: en_USjavax.ws.rs.core.Response addLicense(String deviceType, org.wso2.carbon.device.mgt.common.license.mgt.License license)
deviceType - Device type, ex: android, ioslicense - License objectCopyright © 2016 WSO2. All rights reserved.