# IntState

Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/SnapshotIntState.kt+class:androidx.compose.runtime.IntState) Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.5.0) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  interface IntState : State<Int>
  ```
Known direct subclasses [MutableIntState](https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableIntState)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableIntState` | A value holder where reads to the `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableIntState#intValue()` property during the execution of a `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable` function cause the current `https://developer.android.com/reference/kotlin/androidx/compose/runtime/RecomposeScope` to subscribe to changes of that value. |

*** ** * ** ***

A value holder where reads to the `https://developer.android.com/reference/kotlin/androidx/compose/runtime/IntState#intValue()` property during the execution of a `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable` function cause the current `https://developer.android.com/reference/kotlin/androidx/compose/runtime/RecomposeScope` to subscribe to changes of that value.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableIntState` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/package-summary#mutableDoubleStateOf(kotlin.Double)` |   |

## Summary

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/IntState#intValue()` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/IntState#value()` | Cmn |

| ### Extension functions |
|---|---|---|
| `inline operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/IntState.https://developer.android.com/reference/kotlin/androidx/compose/runtime/IntState#(androidx.compose.runtime.IntState).getValue(kotlin.Any,kotlin.reflect.KProperty)(thisObj: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?, property: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-property/index.html<*>)` Permits property delegation of `val`s using `by` for `https://developer.android.com/reference/kotlin/androidx/compose/runtime/IntState`. | Cmn |

## Public properties

### intValue

Cmn Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.5.0)

```
val intValue: Int
```

### value

Cmn

```
open val value: Int
```

## Extension functions

### IntState.getValue

Cmn Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/SnapshotIntState.kt+function:getValue)

```
inline operator fun IntState.getValue(thisObj: Any?, property: KProperty<*>): Int
```

Permits property delegation of `val`s using `by` for `https://developer.android.com/reference/kotlin/androidx/compose/runtime/IntState`.