[android-components](../../index.md) / [mozilla.components.feature.session](../index.md) / [FullScreenFeature](index.md) / [onMetaViewportFitChanged](./on-meta-viewport-fit-changed.md)

# onMetaViewportFitChanged

`open fun onMetaViewportFitChanged(session: `[`Session`](../../mozilla.components.browser.session/-session/index.md)`, layoutInDisplayCutoutMode: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/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/feature/session/src/main/java/mozilla/components/feature/session/FullScreenFeature.kt#L32)

Overrides [Observer.onMetaViewportFitChanged](../../mozilla.components.browser.session/-session/-observer/on-meta-viewport-fit-changed.md)

### Parameters

`layoutInDisplayCutoutMode` - value of defined in https://developer.android.com/reference/android/view/WindowManager.LayoutParams#layoutInDisplayCutoutMode