UAInAppMessageDisplayContent

@interface UAInAppMessageDisplayContent : NSObject

Display content for an in-app message.

  • The display type.

    Declaration

    Objective-C

    @property (readonly, nonatomic) UAInAppMessageDisplayType displayType;

    Swift

    var displayType: UAInAppMessageDisplayType { get }
  • Method to return the display content as its JSON representation. Sub-classes must override this method

    @returns JSON representation of the display content (as NSDictionary)

    Declaration

    Objective-C

    - (NSDictionary *)toJSON;

    Swift

    func toJSON() -> [AnyHashable : Any]!