---
title: "MutableLongState"
description: "A value holder where reads to the [longValue] property during the execution of a [Composable]
function cause the current [RecomposeScope] to subscribe to changes of that value. When the
[longValue] property is written to and changed, a recomposition of any subscribed
[RecomposeScope]s will be scheduled. If [longValue] is written to with the same value, no
recompositions will be scheduled."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
@JvmDefaultWithCompatibility
public interface MutableLongState : LongState, MutableState<Long>
```


A value holder where reads to the `longValue` property during the execution of a `Composable`
function cause the current `RecomposeScope` to subscribe to changes of that value. When the
`longValue` property is written to and changed, a recomposition of any subscribed
`RecomposeScope`s will be scheduled. If `longValue` is written to with the same value, no
recompositions will be scheduled.


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@get:AutoboxingStateValueProperty("longValue")
@set:AutoboxingStateValueProperty("longValue")
override var value: Long
```


<div class='sourceset sourceset-common'>Common</div>


```kotlin
override var longValue: Long
```



