---
title: "LongState"
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."
type: "interface"
---

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


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

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



```kotlin
@JvmDefaultWithCompatibility
public interface LongState : State<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.


## Properties

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


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



