[android-components](../../../index.md) / [mozilla.components.concept.engine](../../index.md) / [EngineSession](../index.md) / [Observer](index.md) / [onExcludedOnTrackingProtectionChange](./on-excluded-on-tracking-protection-change.md)

# onExcludedOnTrackingProtectionChange

`open fun onExcludedOnTrackingProtectionChange(excluded: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/EngineSession.kt#L48)

Event to indicate whether or not this [EngineSession](../index.md) should be [excluded](on-excluded-on-tracking-protection-change.md#mozilla.components.concept.engine.EngineSession.Observer$onExcludedOnTrackingProtectionChange(kotlin.Boolean)/excluded) from tracking protection.

