Compose Camera LogoCompose Camera
PluginsMLKit Text

TextLine

API reference for TextLine data class.

TextLine

Represents a single line of text within a block.

data class TextLine(
    val text: String,
    val elements: List<TextElement>
)

Properties

PropertyTypeDescription
textStringThe text content of the line.
elementsList<TextElement>The individual elements (words/symbols) in the line.

On this page