BlazeVideosPlayerCtaStyle - Android
The BlazeVideosPlayerCtaStyle class represents the style configuration for the Call to Action (CTA) buttons in a video.
Properties
isVisible
var isVisible: BooleanWhether the CTA button is visible.
cornerRadius
var cornerRadius: BlazeDpThe corner radius of the CTA.
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 size of the CTA text.
fontResId
@FontRes var fontResId: Int?The resource id of the CTA text font.
width
var width: BlazeDp?The width of the CTA.
If null is given, width of the CTA will act as match_parent.
height
var height: BlazeDpThe height of the CTA.
icon
var icon: BlazeVideosPlayerCtaIconStyle?The icon inside the CTA.
Updated 11 days ago
