GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeVideosPlayerCtaStyle - iOS

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

Properties

isVisible

public var isVisible: Bool

Whether the CTA button is visible.

cornerRadius

public var cornerRadius: CGFloat

The corner radius of the CTA button.

borderColor

var borderColor: UIColor

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 .clear.

borderWidth

var borderWidth: CGFloat

The 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.

width

public var width: CGFloat?

The width of the CTA button.

If nil is given, width of the CTA will act as the default.

height

public var height: CGFloat

The height of the CTA button.

font

public var font: UIFont

The font of the CTA button text.

icon

public 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.


Did this page help you?