BlazeStoryPlayerButtonsStyle - Android
The BlazeStoryPlayerButtonsStyle class represents the configuration for the story buttons.
Properties
mute
var mute: BlazeStoryPlayerButtonStyleThe mute button style.
exit
var exit: BlazeStoryPlayerButtonStyleThe exit button style.
share
var share: BlazeStoryPlayerButtonStyleThe share button style.
captions
var captions: BlazeStoryPlayerButtonStyleThe 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.
| Value | Description | Values |
|---|---|---|
| Exit | The exit button | X |
| Mute | The mute/unmute button | X |
| Share | The share Story button | X |
| Captions | The show captions button | X |
| Custom | A custom button | val id: String |
Updated 11 days ago
Did this page help you?
