SAPcpmsDeviceSecurityAuditUploader
public class SAPcpmsDeviceSecurityAuditUploader
Undocumented
-
Report device compliance status to Mobile Services
Throws
error in case of failure.Declaration
Swift
public static func upload(isDeviceCompromised: Bool, sapURLSession: SAPURLSession, settingsParameters: SAPcpmsSettingsParameters) async throws
Parameters
isDeviceCompromised
a boolean value that indicates if the device is compromised
sapURLSession
a SAPURLSession implementation that can be used to communicate with the SAPcpms
settingsParameters
SAPcpms settings metadata to be able to concatenate the SAPcpms service URL; The ‘backendURL’ and the ‘deviceID’ are used from this parameter.