GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeStoryPlayerTitleImageStyle - Android

The BlazeStoryPlayerTitleImageStyle data class represents the style and appearance of the title image in a story player.

Properties

isVisible

var isVisible: Boolean

Indicates whether the title image is visible. Defaults to true.

size

var size: BlazeDp

The size (width and height) of the title image in dp. Clamped to a maximum of 32dp. Defaults to 20.

source

var source: BlazeStoryPlayerTitleImageSource

The source strategy for the title image. Defaults to Dynamic().

BlazeStoryPlayerTitleImageSource

The BlazeStoryPlayerTitleImageSource sealed class represents the source strategy for the story player title image.

Subclasses

Static.ResId

Declaration

data class ResId(val resourceId: Int) : Static()

A local drawable resource ID for the title image.

Static.Url

Declaration

data class Url(val imageUrl: String) : Static()

A remote URL for the title image.

Dynamic

Declaration

data class Dynamic(val fallback: Static? = null) : BlazeStoryPlayerTitleImageSource()

A dynamic image sourced from the backend (titleImageUrl). An optional fallback is used when the backend image is unavailable or fails to load. Pass null to show a gray placeholder on failure.


Did this page help you?