LiveLiteralInfo

annotation class 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

The unique identifier for the literal.

offset

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

Constructors

LiveLiteralInfo
Link copied to clipboard
common
fun LiveLiteralInfo(key: String, offset: Int)
The unique identifier for the literal.

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

key
Link copied to clipboard
common
val key: String
The unique identifier for the literal.
offset
Link copied to clipboard
common
val offset: Int
The startOffset of the literal in the source file at the time of compilation.