SAPFoundationUtils

public final class SAPFoundationUtils

Undocumented

  • Returns the value used for HTTP header “X-SMP-SDK-VERSION”.

    This function constructs a version string in the format “PLATFORM-VERSION-BUILD”, where PLATFORM is either “SAPCPSDKFORWATCHOS” for watchOS or “SAPCPSDKFORIOS” for iOS, VERSION is the short version string of the framework bundle, and BUILD is the bundle version of the framework.

    Example: SAPCPSDKFORIOS-9.2.2-1.0

    Warning

    The format and availability of version information may change in future SDK releases. Always ensure to update your application accordingly when using this function.

    Declaration

    Swift

    public static func getSDKVersion() -> String