copy

fun copy(text: String = this.text, confidence: Float? = this.confidence): RecognizedLine

Copies this line while preserving its second-read status.


fun copy(text: String = this.text, confidence: Float? = this.confidence, secondRead: Boolean): RecognizedLine

Copies this line with an explicit second-read status.