BlazeVideosPlayerCtaStyle - iOS
The BlazeVideosPlayerCtaStyle struct represents the style configuration for the Call to Action (CTA) button in a video.
Properties
isVisible
public var isVisible: BoolWhether the CTA button is visible.
cornerRadius
public var cornerRadius: CGFloatThe corner radius of the CTA button.
borderColor
var borderColor: UIColorThe 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: CGFloatThe 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: CGFloatThe height of the CTA button.
font
public var font: UIFontThe 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.
Updated about 2 months ago
