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

Tracker

class Tracker (source)

Represents a blocked content tracker.

Constructors

Name Summary
<init> Tracker(url: String, trackingCategories: List<TrackingCategory> = emptyList(), cookiePolicies: List<CookiePolicy> = emptyList())
Represents a blocked content tracker.

Properties

Name Summary
cookiePolicies val cookiePolicies: List<CookiePolicy>
The cookie types of the blocked resource.
trackingCategories val trackingCategories: List<TrackingCategory>
The anti-tracking category types of the blocked resource.
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.