MoEngageCardWidget
@objc
public class MoEngageCardWidget : NSObject, Codable, NSCoding
UI element in a card.
-
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 }
-
Declaration
Swift
@objc public let accessibilityData: MoEngageCardAccessibilityData?
-
Description property for debugging purposes.
Declaration
Swift
public override var description: String { get }