Class

LiveLiteralInfo

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

Common
@ComposeCompilerApi
@Target(AnnotationTarget.FUNCTION)
public annotation class LiveLiteralInfo(val key: String, val 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 The unique identifier for the literal.
offset The startOffset of the literal in the source file at the time of compilation.