GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

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: BlazeObjectPositioning

The position of the duration element Relative To The Image within the widget item.

isVisible

var isVisible: Boolean

A 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: BlazeInsets

A BlazeInsets value that defines the margins for the duration element related to the widget item container.

padding

var padding: BlazeInsets

An 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: BlazeWidgetItemDurationElementStateStyle

A BlazeWidgetItemDurationElementStateStyle object that defines the style of the duration element for live unread items.

liveReadState

var liveReadState: BlazeWidgetItemDurationElementStateStyle

A BlazeWidgetItemDurationElementStateStyle object that defines the style of the duration element for live read items.

unreadReadState

var unreadState: BlazeWidgetItemDurationElementStateStyle

A BlazeWidgetItemDurationElementStateStyle object that defines the style of the duration element for unread items.

readState

var readState: BlazeWidgetItemDurationElementStateStyle

A BlazeWidgetItemDurationElementStateStyle object that defines the style of the duration element for read items.


Did this page help you?