UAInAppMessageDisplayContent
Objective-C
@interface UAInAppMessageDisplayContent : NSObject
Swift
class InAppMessageDisplayContent : NSObject
Display content for an in-app message.
-
The display type.
Declaration
Objective-C
@property (nonatomic, readonly) UAInAppMessageDisplayType displayType;
Swift
var displayType: InAppMessageDisplayType { 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]!