InAppMessageButtonInfo
public struct InAppMessageButtonInfo : Sendable, Codable, Equatable
Button info
-
Button behavior
See moreDeclaration
Swift
public enum Behavior : String, Sendable, Codable -
Button identifier, used for reporting
Declaration
Swift
public let identifier: String -
Button label
Declaration
Swift
public var label: InAppMessageTextInfo -
Button actions
Declaration
Swift
public var actions: AirshipJSON? -
Button behavior
Declaration
Swift
public var behavior: Behavior? -
Border color
Declaration
Swift
public var borderColor: InAppMessageColor? -
Border radius in points
Declaration
Swift
public var borderRadius: Double? -
In-app message button model
Declaration
Swift
public init( identifier: String, label: InAppMessageTextInfo, actions: AirshipJSON? = nil, behavior: Behavior? = nil, backgroundColor: InAppMessageColor? = nil, borderColor: InAppMessageColor? = nil, borderRadius: Double? = nil )Parameters
identifierButton identifier
labelText model for the button text
actionsActions for the button to execute
behaviorBehavior of the button on tap
backgroundColorBackground color
borderColorBorder color
borderRadiusBorder radius
View on GitHub