Enumerations

The following enumerations are available globally.

  • There are 2 types of SDK engagements:

    • form: Intercept will launch a form survey to collect user feedback
    • appRating: Intercept will be prompted the user to rate the app in AppStore
    See more

    Declaration

    Swift

    @objc
    public enum MDEngagementType : Int
  • There are 2 types of forms, distinguished by their trigger origin:

    • code: Code triggers are to be used as the passive trigger method when the user actively looks to leave feedback, usually a “feedback” menu option. This form is triggered by the app calling MedalliaDigital.showForm()
    • invite: Invitation triggers, also known as invites or intercepts, are to be used as the proactive trigger method when the app looks to receive contextual feedback using the SDK invite flavours (native alert, SDK banner etc.). This form is triggered automatically by the SDK when setting up survey on the Digital Command Center.
    See more

    Declaration

    Swift

    @objc
    public enum MDFormTriggerType : Int
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public enum MDInterceptActionType : Int
  • Undocumented

    See more

    Declaration

    Swift

    enum MDExternalErrors : Int
  • MDLogLevel Description
    MDLogLevel.OFF Turns off the SDK logs. As mentioned above, this API should not be integrated in production apps. Using this log level is also not allowed.
    MDLogLevel.FATAL Will print only fatal logs. e.g. In case a fatal error occurred, the SDK is likely to crash.
    MDLogLevel.ERROR Will print error logs and will also include the levels above. e.g. An error occurred. It is likely the error is recoverable and available info about what happened will output to console.
    MDLogLevel.WARN Will print warn logs and will also include the levels above. e.g. a warning message which may eventually indicate on a possible error.
    MDLogLevel.INFO Will print info logs and will also include the levels above. e.g. a standard info message.
    MDLogLevel.DEBUG Will print debug logs and will also include the levels above. e.g. a standard debug message.
    See more

    Declaration

    Swift

    @objc
    public enum MDLogLevel : Int, CaseIterable