buildCharSequence Function
@JvmOverloads external fun buildCharSequence(flags: EnumSet<ScanText.Flag> = defaultFlags, suggestionColor: Int = Color.RED): CharSequence?
Renders the recognised text into a CharSequence, with styling controlled by the given flags.
Return
the rendered text
Parameters
- flags — what to include; see Flag
- suggestionColor — the colour used to mark low-confidence text.