InAppMessageDetails

Protocol

Declaration

@objc(SFMCSdkInAppMessageDetails)
public protocol InAppMessageDetails

var id: String { get }

var type: InAppMessageType { get }

var layoutOrder: InAppMessageLayoutOrder { get }

var buttonConfiguration: InAppMessageButtonConfiguration { get }

var title: InAppMessageText? { get }

var body: InAppMessageText? { get }

var tertiaryText: InAppMessageTertiaryText? { get }

var media: InAppMessageMedia? { get }

var buttons: [InAppMessageButton]? { get }

var closeButton: InAppMessageCloseButton? { get }

var backgroundColor: String? { get }

var windowColor: String? { get }

var cornerRadius: InAppMessageSize { get }

var shadow: InAppMessageShadow? { get }

var additionalMargin: InAppMessageSpacing? { get }

var border: InAppMessageBorder? { get }

var animation: InAppMessageAnimation? { get }

var source: String? { get }

var displayCount: Int { get }

var displayLimit: Int { get }

var displayLimitOverride: Bool { get }

var startDateUtc: Date? { get }

var endDateUtc: Date? { get }

var modifiedDateUtc: Date? { get }

var displayDuration: Int { get }

var messageDelaySec: Int { get }

var priority: Int { get }

var displaySuppressionAction: [String]? { get }

Cases

id

var id: String { get }

type

var type: InAppMessageType { get }

layoutOrder

var layoutOrder: InAppMessageLayoutOrder { get }

buttonConfiguration

var buttonConfiguration: InAppMessageButtonConfiguration { get }

title

var title: InAppMessageText? { get }

body

var body: InAppMessageText? { get }

tertiaryText

var tertiaryText: InAppMessageTertiaryText? { get }

media

var media: InAppMessageMedia? { get }

buttons

var buttons: [InAppMessageButton]? { get }

closeButton

var closeButton: InAppMessageCloseButton? { get }

backgroundColor

var backgroundColor: String? { get }

windowColor

var windowColor: String? { get }

cornerRadius

var cornerRadius: InAppMessageSize { get }

shadow

var shadow: InAppMessageShadow? { get }

additionalMargin

var additionalMargin: InAppMessageSpacing? { get }

border

var border: InAppMessageBorder? { get }

animation

var animation: InAppMessageAnimation? { get }

source

The SDK module that originated this in-app message. See ModuleName for possible values.

var source: String? { get }

displayCount

var displayCount: Int { get }

displayLimit

var displayLimit: Int { get }

displayLimitOverride

var displayLimitOverride: Bool { get }

startDateUtc

var startDateUtc: Date? { get }

endDateUtc

var endDateUtc: Date? { get }

modifiedDateUtc

var modifiedDateUtc: Date? { get }

displayDuration

var displayDuration: Int { get }

messageDelaySec

var messageDelaySec: Int { get }

priority

var priority: Int { get }

displaySuppressionAction

var displaySuppressionAction: [String]? { get }