android-components / mozilla.components.concept.engine.content.blocking / TrackerLog

TrackerLog

data class TrackerLog (source)

Represents a blocked content tracker.

Constructors

Name Summary
<init> TrackerLog(url: String, loadedCategories: List<TrackingCategory> = emptyList(), blockedCategories: List<TrackingCategory> = emptyList(), cookiesHasBeenBlocked: Boolean = false)
Represents a blocked content tracker.

Properties

Name Summary
blockedCategories val blockedCategories: List<TrackingCategory>
A list of tracking categories blocked for this tracker.
cookiesHasBeenBlocked val cookiesHasBeenBlocked: Boolean
loadedCategories val loadedCategories: List<TrackingCategory>
A list of tracking categories loaded for this tracker.
url val url: String
The URL of the tracker.

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.