HistoryEntry

sealed class HistoryEntry

A sealed class representing a history entry.

Inheritors

Types

Link copied to clipboard
data class VisitedPage(val url: Uri, val title: String, val visits: List<LocalDateTime>) : HistoryEntry

Data class representing a visited page history entry.

Link copied to clipboard
data class VisitedSERP(val url: Uri, val title: String, val query: String, val visits: List<LocalDateTime>) : HistoryEntry

Data class representing a visited search engine results page (SERP) subtype of history entry.

Properties

Link copied to clipboard
abstract val title: String

The title of the history entry.

Link copied to clipboard
abstract val url: Uri

The URL of the history entry.

Link copied to clipboard
abstract val visits: List<LocalDateTime>

List of LocalDateTime objects representing the visit times.