InboxInteractionType

@objc(SFMCSdkInboxInteractionType)
public enum InboxInteractionType : Int, CaseIterable
extension InboxInteractionType: CustomStringConvertible

Classifies the engagement object the user tapped on an inbox message.

Distinct from InboxActionType, which describes what a tap does (WEB_URL, APP_URL, and so on). This type only says which object was tapped.

  • .cta: the message-level call to action. Pass id: nil.
  • .button: a button on the message. id must be that button’s InboxButton.id.
  • cta

    Declaration

    Swift

    case cta
  • Declaration

    Swift

    case button
  • Declaration

    Swift

    public var description: String { get }