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
identifier
Button identifier
label
Text model for the button text
actions
Actions for the button to execute
behavior
Behavior of the button on tap
backgroundColor
Background color
borderColor
Border color
borderRadius
Border radius