public class DeviceManagementServiceImpl extends Object
| Constructor and Description |
|---|
DeviceManagementServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<org.wso2.carbon.device.mgt.common.Device> |
getAllDevices()
Get all devices.Returns list of Android devices registered in MDM.
|
org.wso2.carbon.device.mgt.common.Device |
getDevice(String id)
Fetch Android device details of a given device Id.
|
String |
getLicense() |
Message |
updateApplicationList(String id,
List<org.wso2.carbon.device.mgt.common.app.mgt.Application> applications) |
Message |
updateDevice(String id,
org.wso2.carbon.device.mgt.common.Device device)
Update Android device details of given device id.
|
public List<org.wso2.carbon.device.mgt.common.Device> getAllDevices() throws AndroidAgentException
AndroidAgentExceptionpublic org.wso2.carbon.device.mgt.common.Device getDevice(String id) throws AndroidAgentException
id - Device IdAndroidAgentExceptionpublic Message updateDevice(String id, org.wso2.carbon.device.mgt.common.Device device) throws AndroidAgentException
id - Device Iddevice - Device DetailsAndroidAgentExceptionpublic Message updateApplicationList(String id, List<org.wso2.carbon.device.mgt.common.app.mgt.Application> applications) throws AndroidAgentException
AndroidAgentExceptionpublic String getLicense() throws AndroidAgentException
AndroidAgentExceptionCopyright © 2016 WSO2. All rights reserved.