|
|
|
@ -17,7 +17,6 @@
|
|
|
|
|
|
|
|
|
|
package org.wso2.carbon.device.mgt.common.spi;
|
|
|
|
|
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.EnrolmentInfo;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.exceptions.DeviceManagementException;
|
|
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
@ -30,8 +29,8 @@ public interface DeviceTypeCommonService {
|
|
|
|
|
/**
|
|
|
|
|
* To get Enrollment QR code against Ownership type
|
|
|
|
|
*
|
|
|
|
|
* @return QR code Map, Key as Ownership Type and Value as QR string
|
|
|
|
|
* @return QR code Map which contains key value pairs to have for the QR String.
|
|
|
|
|
* @throws DeviceManagementException if error occurred while generating the QR String for Ownership
|
|
|
|
|
*/
|
|
|
|
|
Map<EnrolmentInfo.OwnerShip, String> getEnrollmentQRCode() throws DeviceManagementException;
|
|
|
|
|
Map<String, Object> getEnrollmentQRCode(String ownershipType) throws DeviceManagementException;
|
|
|
|
|
}
|
|
|
|
|