Added updateDeviceInfo method to DeviceManagerService.

revert-70aa11f8
harshanL 10 years ago
parent 843322d33f
commit d5d332e91c

@ -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

@ -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 {

@ -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 {

@ -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 {

Loading…
Cancel
Save