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: BlazeObjectPositioningThe position of the status indicator Relative To The Image within the widget item.
isVisible
var isVisible: BoolA 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: NSDirectionalEdgeInsetsAn NSDirectionalEdgeInsets value that defines the insets for the status indicator related to the widget item container.
statusTitlePadding
var statusTitlePadding: NSDirectionalEdgeInsetsAn NSDirectionalEdgeInsets value that defines the padding for the status title to his container.
liveUnreadState
var liveUnreadState: BlazeWidgetItemStatusIndicatorStateStyleA BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for live unread items.
liveReadState
var liveReadState: BlazeWidgetItemStatusIndicatorStateStyleA BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for live read items.
unreadState
var unreadState: BlazeWidgetItemStatusIndicatorStateStyleA BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for unread items.
readState
var readState: BlazeWidgetItemStatusIndicatorStateStyleA BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for read items.
streamStates
var streamStates: BlazeWidgetItemStatusIndicatorStreamStatesStyleDefines 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
| State | text | backgroundColor | text color | icon |
|---|---|---|---|---|
liveStreamState | LIVE | #FF3131 | #F0F0F0 | live dot (4×4) |
upcomingStreamState | UPCOMING | #FFFFFF | #4E5053 | — |
endedStreamState | ENDED | #404040 | #F0F0F0 | — |
streamStatesstyles live-stream video items. TheliveUnreadState/liveReadState/unreadState/readStateproperties above apply to Stories and Moments read status. See Live streaming.
Updated 11 days ago
