UAInAppMessageFullScreenDisplayContent

Objective-C


@interface UAInAppMessageFullScreenDisplayContent : UAInAppMessageDisplayContent

Swift

class InAppMessageFullScreenDisplayContent : InAppMessageDisplayContent

Display content for a full screen in-app message.

Note

This object is built using UAInAppMessageFullScreenDisplayContentBuilder.
  • The full screen’s heading.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) UAInAppMessageTextInfo *heading;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) UAInAppMessageTextInfo *body;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) UAInAppMessageMediaInfo *media;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) UAInAppMessageButtonInfo *footer;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<UAInAppMessageButtonInfo *> *_Nonnull buttons;

    Swift

    var buttons: [InAppMessageButtonInfo] { get }
  • 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, readonly) UAInAppMessageButtonLayoutType buttonLayout;

    Swift

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

    Optional. Defaults to UAInAppMessageFullScreenContentLayoutHeaderMediaBody

    Declaration

    Objective-C

    @property (nonatomic, readonly) UAInAppMessageFullScreenContentLayoutType contentLayout;

    Swift

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

    Optional. Defaults to white.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIColor *_Nonnull backgroundColor;

    Swift

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

    Optional. Defaults to black.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIColor *_Nonnull dismissButtonColor;

    Swift

    var dismissButtonColor: UIColor { get }
  • Factory method for building full screen display content with a builder block.

    Declaration

    Objective-C

    + (nullable instancetype)displayContentWithBuilderBlock:
        (nonnull void (^)(UAInAppMessageFullScreenDisplayContentBuilder *_Nonnull))
            builderBlock;

    Swift

    convenience init?(builderBlock: @escaping (InAppMessageFullScreenDisplayContentBuilder) -> Void)

    Parameters

    builderBlock

    The builder block.

    Return Value

    The display content if the builder block successfully built it, otherwise nil.

  • Extends a full screen display content with a builder block.

    Declaration

    Objective-C

    - (nullable UAInAppMessageFullScreenDisplayContent *)extend:
        (nonnull void (^)(UAInAppMessageFullScreenDisplayContentBuilder *_Nonnull))
            builderBlock;

    Swift

    func extend(_ builderBlock: @escaping (InAppMessageFullScreenDisplayContentBuilder) -> Void) -> InAppMessageFullScreenDisplayContent?

    Parameters

    builderBlock

    The builder block.

    Return Value

    An extended instance of UAInAppMessageFullScreenDisplayContent.