# LayoutInformationReceiver

Artifact: [androidx.constraintlayout:constraintlayout-compose](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/compose/ConstraintLayout.kt+class:androidx.constraintlayout.compose.LayoutInformationReceiver) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)


```
interface LayoutInformationReceiver
```

<br />

*** ** * ** ***

## Summary

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/MotionLayoutDebugFlags` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInformationReceiver#getForcedDrawDebug()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInformationReceiver#getForcedHeight()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInformationReceiver#getForcedProgress()()` Get the progress of the force progress |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInformationReceiver#getForcedWidth()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInfoFlags` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInformationReceiver#getLayoutInformationMode()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInformationReceiver#onNewProgress(kotlin.Float)(progress: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInformationReceiver#resetForcedProgress()()` reset the force progress flag |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInformationReceiver#setLayoutInformation(kotlin.String)(information: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutInformationReceiver#setUpdateFlag(androidx.compose.runtime.MutableState)(needsUpdate: https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>)` |

## Public functions

### getForcedDrawDebug

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun getForcedDrawDebug(): MotionLayoutDebugFlags
```

### getForcedHeight

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun getForcedHeight(): Int
```

### getForcedProgress

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun getForcedProgress(): Float
```

Get the progress of the force progress

### getForcedWidth

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun getForcedWidth(): Int
```

### getLayoutInformationMode

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun getLayoutInformationMode(): LayoutInfoFlags
```

### onNewProgress

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun onNewProgress(progress: Float): Unit
```

### resetForcedProgress

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun resetForcedProgress(): Unit
```

reset the force progress flag

### setLayoutInformation

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun setLayoutInformation(information: String): Unit
```

### setUpdateFlag

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun setUpdateFlag(needsUpdate: MutableState<Long>): Unit
```