UAInAppMessageFullScreenDisplayContentBuilder

@interface UAInAppMessageFullScreenDisplayContentBuilder : NSObject

Builder class for UAInAppMessageFullScreenDisplayContent.

  • The full screen’s heading.

    Optional.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable)
        UAInAppMessageTextInfo *heading;

    Swift

    var heading: UAInAppMessageTextInfo? { get set }
  • The full screen’s body.

    Optional.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) UAInAppMessageTextInfo *body;

    Swift

    var body: UAInAppMessageTextInfo? { get set }
  • The full screen’s media.

    Optional.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable)
        UAInAppMessageMediaInfo *media;

    Swift

    var media: UAInAppMessageMediaInfo? { get set }
  • The full screen’s footer.

    Optional. Defaults to nil.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable)
        UAInAppMessageButtonInfo *footer;

    Swift

    var footer: UAInAppMessageButtonInfo? { get set }
  • The full screen’s buttons.

    Required.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable)
        NSArray<UAInAppMessageButtonInfo *> *buttons;

    Swift

    var buttons: [UAInAppMessageButtonInfo]? { 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 (assign, readwrite, nonatomic)
        UAInAppMessageButtonLayoutType buttonLayout;

    Swift

    var buttonLayout: UAInAppMessageButtonLayoutType { get set }
  • The full screen’s layout for the text and media.

    Optional. Defaults to UAInAppMessageFullScreenContentLayoutHeaderMediaBody

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        UAInAppMessageFullScreenContentLayoutType contentLayout;

    Swift

    var contentLayout: UAInAppMessageFullScreenContentLayoutType { get set }
  • The full screen’s background color.

    Optional. Defaults to white.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *_Nonnull backgroundColor;

    Swift

    var backgroundColor: UIColor { get set }
  • The full screen’s dismiss button color.

    Optional. Defaults to black.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) 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.