BlazeStoryPlayerCtaStyle - iOS
The BlazeStoryPlayerCtaStyle struct represents the style configuration for the Call to Action (CTA) button in a story.
Properties
cornerRadius
var cornerRadius: CGFloatThe corner radius of the CTA button.
borderColor
var borderColor: UIColorThe SDK fallback border color of the CTA button, used when the backend/CMS provides no valid borderColor. Backend/CMS value takes priority when present and parseable. Defaults to .clear.
borderWidth
var borderWidth: CGFloatThe SDK fallback border width of the CTA button in points, used when the backend/CMS provides no borderWidth. Backend/CMS value takes priority when present. Defaults to 0.
font
var font: UIFontThe font of the CTA button.
icon
var icon: UIImage?The optional icon image displayed on the CTA button. If provided, this icon is used to enhance the visual style or convey additional meaning to the CTA button. It's typically displayed alongside the button text or in place of text for icon-only buttons.
isVisible
var isVisible: BoolWhether the CTA should be visible.
When false, the CTA will be hidden even if it should be shown according to the content.
Only applies to non-ad playables.
Updated 11 days ago
