CTA Options
Overview
Creating CtaOption
Using Builder
val ctaOption = CtaOption.Builder()
.ctaDelay(CtaDelay(3f, CtaDelayUnit.SECONDS))
.ctaStyle(CtaStyle(shape = Shape.SHAPE_ROUND_RECTANGLE))
.ctaMode(CtaOption.CtaMode.FULL_WIDTH)
.build()Using DSL (Recommended)
Properties
ctaDelay
ctaHighlightDelay
ctaMode
ctaStyle
Default Values
Property
Default Value
CTA Button Shapes
Round Rectangle Shape
Oval / Pill Shape
CTA Sizing Modes
FULL_WIDTH
COMPACT
SIZE_TO_FIT
CTA Click Handling
Important Notes
See Also
Last updated
Was this helpful?