GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeStoryPlayerButtonsStyle - Android

The BlazeStoryPlayerButtonsStyle class represents the configuration for the story buttons.

Properties

mute

var mute: BlazeStoryPlayerButtonStyle

The mute button style.

exit

var exit: BlazeStoryPlayerButtonStyle

The exit button style.

share

var share: BlazeStoryPlayerButtonStyle

The share button style.

captions

var captions: BlazeStoryPlayerButtonStyle

The captions button style.

Methods

getTopStackCustomActionButtons

fun getTopStackCustomActionButtons(): List<BlazeStoryPlayerCustomActionButton>

Returns the current top stack custom action buttons.

setTopStackCustomActionButtons

fun setTopStackCustomActionButtons(customButtons: List<BlazeStoryPlayerCustomActionButton>)

Assigning the given customButtons to be the top stack custom action buttons.

setTopStackOrder

fun setTopStackOrder(customOrder: List<TopStackButtons>)

Updates the order of buttons in the top stack by the given customOrder, ensuring validation and preserving the relative positions of buttons that were not provided.

TopStackButtons

The buttons that can be reordered in the top stack.

ValueDescriptionValues
ExitThe exit buttonX
MuteThe mute/unmute buttonX
ShareThe share Story buttonX
CaptionsThe show captions buttonX
CustomA custom buttonval id: String

Did this page help you?