CorporateMediaEvent

sealed interface CorporateMediaEvent

What the user did on CorporateMediaScreen. The screen never navigates on its own — handle these to decide where each interaction leads.

Inheritors

Types

Link copied to clipboard
data class ClickOnDocument(val issue: IssueShort, val context: Map<String, Any>) : CorporateMediaEvent

A document was tapped. Open it with Reader.open, which downloads it first if it is not on the device.

Link copied to clipboard
data class ClickOnMore(val issue: IssueShort, val context: Map<String, Any>) : CorporateMediaEvent

A document's overflow action was tapped — the entry point for whatever secondary menu your app offers on a document (share, details, remove).