GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeWidgetItemStatusIndicatorStyle - iOS

The BlazeWidgetItemStatusIndicatorStyle struct 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: Bool

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

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

insets

var insets: NSDirectionalEdgeInsets

An NSDirectionalEdgeInsets value that defines the insets for the status indicator related to the widget item container.

statusTitlePadding

var statusTitlePadding: NSDirectionalEdgeInsets

An NSDirectionalEdgeInsets value that defines the padding for the status title to his 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.

unreadState

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 coloricon
liveStreamStateLIVE#FF3131#F0F0F0live dot (4×4)
upcomingStreamStateUPCOMING#FFFFFF#4E5053
endedStreamStateENDED#404040#F0F0F0
📘

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?