public class License extends Object
Constructor and Description |
---|
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.
|
public javax.ws.rs.core.Response getLicense(String deviceType, String languageCode) throws MDMAPIException
deviceType
- Device type, ex: android, ioslanguageCode
- Language code, ex: en_USMDMAPIException
- If the device type or language code arguments are not available or invalid.public javax.ws.rs.core.Response addLicense(String deviceType, org.wso2.carbon.device.mgt.common.license.mgt.License license) throws MDMAPIException
deviceType
- Device type, ex: android, ioslicense
- License objectMDMAPIException
Copyright © 2016 WSO2. All rights reserved.