SAPcpmsUsageUploader

class SAPcpmsUsageUploader
  • Collects the usage records for the given target identifier, and uploads them in the SAPcpms format to the given endpoint. After the upload a new session should be started.

    Declaration

    Swift

    public class func upload(onboardingSession: OnboardingSession, completionHandler: @escaping (Error?) -> Void = SAPcpmsUsageUploader.defaultCompletionHandler)

    Parameters

    onboardingSession

    onboardingSession instance

    completionHandler

    closure called upon completion