This commit is contained in:
Geeth Munasinghe 2014-12-05 12:06:22 +05:30
commit cc9417d8eb
4 changed files with 22 additions and 0 deletions

View File

@ -104,6 +104,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
*

View File

@ -78,6 +78,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

@ -78,6 +78,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

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