on-meta-viewport-fit-changed.md 837 Bytes
Newer Older
MickeyMoz's avatar
MickeyMoz committed
1
2
3
4
[android-components](../../../index.md) / [mozilla.components.browser.session](../../index.md) / [Session](../index.md) / [Observer](index.md) / [onMetaViewportFitChanged](./on-meta-viewport-fit-changed.md)

# onMetaViewportFitChanged

MickeyMoz's avatar
MickeyMoz committed
5
`open fun onMetaViewportFitChanged(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/browser/session/src/main/java/mozilla/components/browser/session/Session.kt#L108)
MickeyMoz's avatar
MickeyMoz committed
6
7
8
9

### Parameters

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