MoEngageCardWidget

@objc
public class MoEngageCardWidget : NSObject, NSCoding

UI element in a card.

  • id

    Identifier for the widget.

    Declaration

    Swift

    @objc
    public internal(set) var id: Int { get }
  • Type of widget

    Declaration

    Swift

    public internal(set) var type: MoEngageCardWidgetType { get }
  • Style associated with the widget

    Declaration

    Swift

    @objc
    public internal(set) var style: MoEngageCardStyle? { get }
  • Content to be loaded in the widget.

    Declaration

    Swift

    @objc
    public internal(set) var content: String { get }
  • Actions to be performed on widget click

    Declaration

    Swift

    @objc
    public internal(set) var actions: [MoEngageCardAction] { get }