Compose Camera LogoCompose Camera
PluginsMLKit Text

TextResult

API reference for TextResult data class.

TextResult

The top-level result of a recognition operation.

data class TextResult(
    val text: String,
    val blocks: List<TextBlock>
)

Properties

PropertyTypeDescription
textStringThe complete confirmed text string.
blocksList<TextBlock>The list of text blocks identified in the image.

On this page