StreamItemState

sealed class StreamItemState

Represents the different states a StreamItem can be in.

This sealed class defines the possible states for a stream item, allowing for exhaustive when expressions when handling different stream item states.

The states are categorized into:

  • Standard: The default state of a stream item.

  • Featured: States that highlight a stream item, such as pinned or fullscreen.

Inheritors

Types

Link copied to clipboard
sealed class Featured : StreamItemState

Represents states that highlight or feature a StreamItem.

Link copied to clipboard

Represents the standard, default state of a StreamItem.