BlazeWidgetItemDurationElementStyle - Android
BlazeWidgetItemDurationElementStyle is responsible for managing the style and positioning of a duration element within a widget item. It provides options for live unread, live read, unread, and read states.
This element will display the duration of each item in the widget.
Note - This class is only applicable for Videos and Moments player type.
Properties
position
var position: BlazeObjectPositioningThe position of the duration element Relative To The Image within the widget item.
isVisible
var isVisible: BooleanA Boolean value that determines whether the duration element is visible.
Setting to false will hide all the duration element for the widget item.
margins
var margins: BlazeInsetsA BlazeInsets value that defines the margins for the duration element related to the widget item container.
padding
var padding: BlazeInsetsAn BlazeInsets value that defines the padding for the duration element title to his own container.
icon
var icon: BlazeWidgetItemDurationElementIconStyle?The style configuration for the icon inside the duration element.
liveUnreadState
var liveUnreadState: BlazeWidgetItemDurationElementStateStyleA BlazeWidgetItemDurationElementStateStyle object that defines the style of the duration element for live unread items.
liveReadState
var liveReadState: BlazeWidgetItemDurationElementStateStyleA BlazeWidgetItemDurationElementStateStyle object that defines the style of the duration element for live read items.
unreadReadState
var unreadState: BlazeWidgetItemDurationElementStateStyleA BlazeWidgetItemDurationElementStateStyle object that defines the style of the duration element for unread items.
readState
var readState: BlazeWidgetItemDurationElementStateStyleA BlazeWidgetItemDurationElementStateStyle object that defines the style of the duration element for read items.
Updated 11 days ago
