GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeWidgetItemStatusIndicatorStyle - Android

BlazeWidgetItemStatusIndicatorStyle is responsible for managing the style and positioning of a status indicator within a widget item. It provides options for live unread, live read, unread, and read states (Stories and Moments), as well as the live-stream states (upcoming, live, ended) via streamStates.

Properties

position

var position: BlazeObjectPositioning

The position of the status indicator Relative To The Image within the widget item.

isVisible

var isVisible: Boolean

A Boolean value that determines whether the status indicator is visible.

Setting to false will hide all the status indicators for the widget item.

margins

var margins: BlazeInsets

A BlazeInsets value that defines the margins for the status indicator related to the widget item container.

padding

var padding: BlazeInsets

An BlazeInsets value that defines the padding for the status title to his own container.

liveUnreadState

var liveUnreadState: BlazeWidgetItemStatusIndicatorStateStyle

A BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for live unread items.

liveReadState

var liveReadState: BlazeWidgetItemStatusIndicatorStateStyle

A BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for live read items.

unreadReadState

var unreadState: BlazeWidgetItemStatusIndicatorStateStyle

A BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for unread items.

readState

var readState: BlazeWidgetItemStatusIndicatorStateStyle

A BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for read items.

streamStates

var streamStates: BlazeWidgetItemStatusIndicatorStreamStatesStyle

Defines the status-indicator chip shown on live-stream widget items, with one style per stream state. BlazeWidgetItemStatusIndicatorStreamStatesStyle groups three BlazeWidgetItemStatusIndicatorStateStyle objects:

  • upcomingStreamState — shown while a stream is scheduled but has not started.
  • liveStreamState — shown while a stream is broadcasting.
  • endedStreamState — shown once a stream has finished.

Default values

StatetextbackgroundColortext colortext sizecornerRadius
liveStreamStateLIVE#FF3131#F0F0F012sp10dp
upcomingStreamStateUPCOMING#FFFFFF#4E505312sp10dp
endedStreamStateENDED#404040#F0F0F012sp10dp
📘

streamStates styles live-stream video items. The liveUnreadState / liveReadState / unreadState / readState properties above apply to Stories and Moments read status. See Live streaming.


Did this page help you?