# LiveLiteralInfo

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

  ```
  @ComposeCompilerApi
  @Target(allowedTargets = [AnnotationTarget.FUNCTION])
  @Retention(value = AnnotationRetention.RUNTIME)
  annotation LiveLiteralInfo
  ```

*** ** * ** ***

This annotation is applied to functions on the LiveLiteral classes created by the Compose Compiler. It is intended to be used to provide information useful to tooling.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/internal/LiveLiteralInfo#LiveLiteralInfo(kotlin.String,kotlin.Int)(key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, offset: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/internal/LiveLiteralInfo#key()` The unique identifier for the literal. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/internal/LiveLiteralInfo#offset()` The startOffset of the literal in the source file at the time of compilation. | Cmn |

## Public constructors

### LiveLiteralInfo

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

```
LiveLiteralInfo(key: String, offset: Int)
```

| Parameters |
|---|---|
| `key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | The unique identifier for the literal. |
| `offset: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The startOffset of the literal in the source file at the time of compilation. |

## Public properties

### key

Cmn

```
val key: String
```

The unique identifier for the literal.

### offset

Cmn

```
val offset: Int
```

The startOffset of the literal in the source file at the time of compilation.