GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeStoryPlayerSubtitleTextStyle - Android

The BlazeStoryPlayerSubtitleTextStyle class represents the style of the subtitle in a story. The subtitle is the page's title, rendered under the story title, and it is shown only for pages that have one.

Properties

fontResId

@FontRes var fontResId: Int?

A resource id representing the path of the font.

textSize

var textSize: Float

The size of the text.

textColor

var textColor: Int

The color of the text.

isVisible

var isVisible: Boolean

A flag indicates whether the subtitle is visible.

📘

Note

The subtitle is shown only when the story subtitle feature is enabled for your account. When it is disabled, the subtitle stays hidden even if isVisible is true.


Did this page help you?