BlazeStoryPlayerCtaStyle - Android
The BlazeStoryPlayerCtaStyle class represents the style configuration for the Call to Action (CTA) button in a story.
Properties
cornerRadius
var cornerRadius: BlazeDpThe corner radius of the CTA button.
borderColor
@ColorInt var borderColor: IntThe 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 Color.TRANSPARENT.
borderWidth
var borderWidth: BlazeDpThe SDK fallback border width of the CTA button in dp, used when the backend/CMS provides no borderWidth. Backend/CMS value takes priority when present. Defaults to 0.blazeDp.
textSize
var textSize: FloatThe text size of the CTA button.
fontResId
@FontRes var fontResId: Int?The font resource id to be use in the CTA buttons
icon
var icon: BlazeStorysPlayerCtaIconStyle?The icon inside the CTA.
isVisible
var isVisible: BooleanWhether 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
