GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeVideosPlayerCtaStyle - Android

The BlazeVideosPlayerCtaStyle class represents the style configuration for the Call to Action (CTA) buttons in a video.

Properties

isVisible

var isVisible: Boolean

Whether the CTA button is visible.

cornerRadius

var cornerRadius: BlazeDp

The corner radius of the CTA.

borderColor

@ColorInt var borderColor: Int

The 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: BlazeDp

The 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: Float

The 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: BlazeDp

The height of the CTA.

icon

var icon: BlazeVideosPlayerCtaIconStyle?

The icon inside the CTA.


Did this page help you?