Reregisters an MBS device without changing any device settings.
During device reregistration, Unwired Server purges all enterprise data on the device. It retains the device ID and subscription information so that all data can be resynchronized and loaded onto the device.
List<DeviceInfoVO> reregisterDevices(List<ReregistrationRequestVO> reregistrationRequests, List<PropertyItemVO> propertyItems) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
//re-register MBS devices ReregistrationRequestVO request = new ReregistrationRequestVO(); //4 is a existing device ID, you can use deviceUser.listDevices(…) //to see existing devices. request.setExistingDeviceID(4); List<ReregistrationRequestVO> requests = new ArrayList<ReregistrationRequestVO>(); requests.add(request); //set second parameter to null since we do not want change any device settings. List<DeviceInfoVO> result = deviceUser.reregisterDevices(requests, null);