# DoubleState

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/SnapshotDoubleState.kt+class:androidx.compose.runtime.DoubleState) Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.5.0) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

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

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState` | A value holder where reads to the `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState#doubleValue()` 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/DoubleState#doubleValue()` 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/MutableDoubleState` |   |
| `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/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/DoubleState#doubleValue()` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/DoubleState#value()` | Cmn |

| ### Extension functions |
|---|---|---|
| `inline operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/DoubleState.https://developer.android.com/reference/kotlin/androidx/compose/runtime/DoubleState#(androidx.compose.runtime.DoubleState).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/DoubleState`. | Cmn |

## Public properties

### doubleValue

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

```
val doubleValue: Double
```

### value

Cmn

```
open val value: Double
```

## Extension functions

### DoubleState.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/SnapshotDoubleState.kt+function:getValue)

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

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