MDFormTriggerType

@objc
public enum MDFormTriggerType : 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.
  • Code trigger type

    Declaration

    Swift

    case code = 0
  • Invitation trigger type

    Declaration

    Swift

    case invite = 1
  • Undocumented

    Declaration

    Swift

    func toString() -> String
  • Undocumented

    Declaration

    Swift

    static func toEnum(string: String?) -> MDFormTriggerType