Compose Camera LogoCompose Camera
PluginsMLKit Text

TextBlock

API reference for TextBlock data class.

TextBlock

Represents a logical block of text, such as a paragraph or column.

data class TextBlock(
    val text: String,
    val lines: List<TextLine>
)

Properties

PropertyTypeDescription
textStringThe text content of the block.
linesList<TextLine>The lines of text contained within the block.

On this page