ArticlesBlockEvent

sealed interface ArticlesBlockEvent

What a user did in an articles block. The block never navigates, never opens a player and never mutates anything on the host's behalf: it reports, the host decides.

Each variant carries the domain item itself, so the host does not have to resolve an identifier against a list it does not own.

Inheritors

Types

Link copied to clipboard

The block's "see all" was tapped — the arrow of its heading, or the button a capped block draws under its items.

Link copied to clipboard

The listen action of an article was tapped. Only reported for articles that carry an audio track, i.e. those whose ArticleShort.mediaTrackId is set — the control is hidden otherwise.

Link copied to clipboard

An article was tapped.

Link copied to clipboard

The secondary action of an article was tapped, or an ArticlesLayout.list row long-pressed.