Added updateDeviceInfo method to DeviceManagerService.

This commit is contained in:
harshanL 2014-12-05 11:39:19 +05:30
parent 843322d33f
commit d5d332e91c
4 changed files with 22 additions and 0 deletions

View File

@ -91,6 +91,13 @@ public interface DeviceManagerService {
*/
Device getDeviceInfo(String type, String deviceId) throws DeviceManagementException;
/**
* Method to update device information.
* @param device Updated device information related data
* @throws DeviceManagementException If some unusual behaviour is observed while enrolling a device
*/
void updateDeviceInfo(Device device) throws DeviceManagementException;
/**
* Method to set the ownership type of a particular device. i.e. BYOD, COPE
* @param ownershipType Type of ownership

View File

@ -71,6 +71,11 @@ public class AndroidDeviceManagerService implements DeviceManagerService {
return null;
}
@Override
public void updateDeviceInfo(Device device) throws DeviceManagementException{
}
@Override
public void setOwnership(String ownershipType) throws DeviceManagementException {

View File

@ -70,6 +70,11 @@ public class IOSDeviceManagerService implements DeviceManagerService {
return null;
}
@Override
public void updateDeviceInfo(Device device) throws DeviceManagementException{
}
@Override
public void setOwnership(String ownershipType) throws DeviceManagementException {

View File

@ -70,6 +70,11 @@ public class WindowsDeviceManagerService implements DeviceManagerService{
return null;
}
@Override
public void updateDeviceInfo(Device device) throws DeviceManagementException{
}
@Override
public void setOwnership(String ownershipType) throws DeviceManagementException {