Fullscreen
public struct Fullscreen : Codable, Sendable, Equatable
Fullscreen display content
-
Fullscreen templates
See moreDeclaration
Swift
public enum Template : String, Codable, Sendable
-
The heading
Declaration
Swift
public var heading: InAppMessageTextInfo?
-
The body
Declaration
Swift
public var body: InAppMessageTextInfo?
-
The media
Declaration
Swift
public var media: InAppMessageMediaInfo?
-
The footer
Declaration
Swift
public var footer: InAppMessageButtonInfo?
-
The buttons
Declaration
Swift
public var buttons: [InAppMessageButtonInfo]?
-
The button layout type
Declaration
Swift
public var buttonLayoutType: InAppMessageButtonLayoutType?
-
The template
Declaration
Swift
public var template: Template?
-
The background color
Declaration
Swift
public var backgroundColor: InAppMessageColor?
-
The dismiss button color
Declaration
Swift
public var dismissButtonColor: InAppMessageColor?
-
init(heading:
body: media: footer: buttons: buttonLayoutType: template: dismissButtonColor: backgroundColor: ) Full screen in-app message model initializer
Declaration
Swift
public init(heading: InAppMessageTextInfo? = nil, body: InAppMessageTextInfo? = nil, media: InAppMessageMediaInfo? = nil, footer: InAppMessageButtonInfo? = nil, buttons: [InAppMessageButtonInfo], buttonLayoutType: InAppMessageButtonLayoutType? = nil, template: Template, dismissButtonColor: InAppMessageColor? = nil, backgroundColor: InAppMessageColor? = nil )
Parameters
heading
Model defining the message heading
body
Model defining the message body
media
Model defining the message media
footer
Model defining a footer button
buttons
Message button models
buttonLayoutType
Layout for buttons
template
Layout template defining relative position of heading, body and media
dismissButtonColor
Dismiss button color
backgroundColor
Background color