Google is committed to advancing racial equity for Black communities. See how.

LiveLiteralInfo

annotation class LiveLiteralInfo
androidx.compose.runtime.internal.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
<init>(key: String, offset: Int)

This annotation is applied to functions on the LiveLiteral classes created by the Compose Compiler.

Properties
String

The unique identifier for the literal.

Int

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

Public constructors

<init>

LiveLiteralInfo(
    key: String,
    offset: Int)

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.

Parameters
key: String The unique identifier for the literal.
offset: Int The startOffset of the literal in the source file at the time of compilation.

Properties

key

val key: String

The unique identifier for the literal.

offset

val offset: Int

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