[android-components](../../index.md) / [mozilla.components.concept.engine](../index.md) / [DefaultSettings](index.md) / [suspendMediaWhenInactive](./suspend-media-when-inactive.md)

# suspendMediaWhenInactive

`var suspendMediaWhenInactive: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/Settings.kt#L202)

Overrides [Settings.suspendMediaWhenInactive](../-settings/suspend-media-when-inactive.md)

Setting to control whether media should be suspended when the session is inactive.

