UAInAppMessageFullScreenDisplayContentBuilder
Objective-C
@interface UAInAppMessageFullScreenDisplayContentBuilder : NSObject
Swift
class InAppMessageFullScreenDisplayContentBuilder : NSObject
Builder class for UAInAppMessageFullScreenDisplayContent.
-
The full screen’s heading.
Optional.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageTextInfo *heading;
Swift
var heading: InAppMessageTextInfo? { get set }
-
The full screen’s body.
Optional.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageTextInfo *body;
Swift
var body: InAppMessageTextInfo? { get set }
-
The full screen’s media.
Optional.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageMediaInfo *media;
Swift
var media: InAppMessageMediaInfo? { get set }
-
The full screen’s footer.
Optional. Defaults to nil.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UAInAppMessageButtonInfo *footer;
Swift
var footer: InAppMessageButtonInfo? { get set }
-
The full screen’s buttons.
Required.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<UAInAppMessageButtonInfo *> *buttons;
Swift
var buttons: [InAppMessageButtonInfo]? { get set }
-
The full screen’s button layout.
Optional. Defaults to UAInAppMessageButtonLayoutSeparate. If more than 2 buttons are supplied, forces to UAInAppMessageButtonLayoutStacked.
Declaration
Objective-C
@property (nonatomic) UAInAppMessageButtonLayoutType buttonLayout;
Swift
var buttonLayout: InAppMessageButtonLayoutType { get set }
-
The full screen’s layout for the text and media.
Optional. Defaults to UAInAppMessageFullScreenContentLayoutHeaderMediaBody
Declaration
Objective-C
@property (nonatomic) UAInAppMessageFullScreenContentLayoutType contentLayout;
Swift
var contentLayout: InAppMessageFullScreenContentLayoutType { get set }
-
The full screen’s background color.
Optional. Defaults to white.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull backgroundColor;
Swift
var backgroundColor: UIColor { get set }
-
The full screen’s dismiss button color.
Optional. Defaults to black.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull dismissButtonColor;
Swift
var dismissButtonColor: UIColor { get set }
-
Checks if the builder is valid and will produce an display content instance.
Declaration
Objective-C
- (BOOL)isValid;
Swift
func isValid() -> Bool
Return Value
YES if the builder is valid, otherwise NO.