MoEngageCardWidget
@objc
public final class MoEngageCardWidget : NSObject, Codable, NSCoding, Sendable
UI element in a card.
-
Identifier for the widget.
Declaration
Swift
@objc public let id: Int -
Type of widget
Declaration
Swift
public let type: MoEngageCardWidgetType -
Style associated with the widget
Declaration
Swift
@objc public let style: MoEngageCardStyle? -
Content to be loaded in the widget.
Declaration
Swift
@objc public let content: String -
Actions to be performed on widget click
Declaration
Swift
@objc public let actions: [MoEngageCardAction] -
Declaration
Swift
@objc public let accessibilityData: MoEngageCardAccessibilityData? -
Description property for debugging purposes.
Declaration
Swift
public override var description: String { get }