ClickOnIssue

data class ClickOnIssue(val issue: IssueShort, val page: Int = 1, val context: Map<String, Any> = emptyMap()) : PublicationEvent

An issue was tapped. Download it if it is not on the device yet, then open it.

Parameters

issue

the issue that was tapped.

page

where the issue was left off — 1-indexed, the farthest page reached, or 1 if it was never read. Pass it straight to Reader.open's page so the issue resumes where the user left off instead of always starting at page 1.

context

extra key-value data about the interaction, for your own analytics. Empty today.

Constructors

Link copied to clipboard
constructor(issue: IssueShort, page: Int = 1, context: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val page: Int = 1