BlazeStoryPlayerButtonStyle - Android
The BlazeStoryPlayerButtonStyle class represents the configuration for a story button.
Properties
width
var width: BlazeDpThe width of the button.
height
var height: BlazeDpThe height of the button.
color
var color: IntThe tint color of the button.
isVisible
var isVisible: BooleanIndicates whether the button is visible.
When falsfalse the button is hdden.
Example show/hide player buttons
// Start from the default Story style
val style = BlazeStoryPlayerStyle.base()
// Show Captions, hide More
style.buttons.captions.isVisible = true
style.buttons.more.isVisible = false
customImage
var PlayerItemButtonImageStates: BlazePlayerButtonCustomImageStates?Custom image for the button.
isVisibleForAds
var isVisibleForAds: BooleanIndicates whether the button is visible for ads.
scaleType
var scaleType: ScaleTypeIndicates the image scale type, using Android's ScaleType enum.
Updated 11 days ago
Did this page help you?
