android-components / mozilla.components.concept.storage / PageVisit

PageVisit

data class PageVisit (source)

Information to record about a visit.

Constructors

Name Summary
<init> PageVisit(visitType: VisitType, redirectSource: RedirectSource)
Information to record about a visit.

Properties

Name Summary
redirectSource val redirectSource: RedirectSource
If this visit is redirecting to another page, what kind of redirect is it? See RedirectSource for the options.
visitType val visitType: VisitType
The transition type for this visit. See VisitType.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.