Enrichment

sealed class Enrichment : Serializable

Represents an issue enrichment.

Parameters

issueId

identifier of the issue this enrichment belongs to

page

page number this enrichment belongs to

width

this enrichment width

height

this enrichment height

top

this enrichment top position

left

this enrichment left position

target

this enrichment target

Inheritors

Types

Link copied to clipboard
data class Article(val issueId: IssueId, val page: Int, val width: Double, val height: Double, val top: Double, val left: Double, val target: String) : Enrichment

Article enrichment A long press on it allows the user to open it

Link copied to clipboard
data class Link(val issueId: IssueId, val page: Int, val width: Double, val height: Double, val top: Double, val left: Double, val target: String) : Enrichment

Link enrichment A click on it allows the user to open it

Link copied to clipboard
data class Unknown(val issueId: IssueId, val page: Int, val width: Double, val height: Double, val top: Double, val left: Double, val target: String) : Enrichment

Catches unrecognized element types, preserving the raw type string from the API.

Properties

Link copied to clipboard
open val height: Double
Link copied to clipboard
open val issueId: IssueId
Link copied to clipboard
open val left: Double
Link copied to clipboard
open val page: Int
Link copied to clipboard
open val target: String
Link copied to clipboard
open val top: Double
Link copied to clipboard
open val width: Double