android-components / mozilla.components.browser.state.state / TrackingProtectionState

TrackingProtectionState

data class TrackingProtectionState (source)

Value type that represents the state of tracking protection within a SessionState.

Constructors

Name Summary
<init> TrackingProtectionState(enabled: Boolean = false, blockedTrackers: List<Tracker> = emptyList(), loadedTrackers: List<Tracker> = emptyList(), ignoredOnTrackingProtection: Boolean = false)
Value type that represents the state of tracking protection within a SessionState.

Properties

Name Summary
blockedTrackers val blockedTrackers: List<Tracker>
List of trackers that have been blocked for the currently loaded site.
enabled val enabled: Boolean
Whether tracking protection is enabled or not for this SessionState.
ignoredOnTrackingProtection val ignoredOnTrackingProtection: Boolean
Whether tracking protection should be enabled or not for this SessionState
loadedTrackers val loadedTrackers: List<Tracker>
List of trackers that have been loaded (not blocked) for the currently loaded site.