ScanText Constructor
constructor()
Creates an empty result, for a page nothing has been recognised on yet.
constructor(source: ScanText?)
Copies another result, or creates an empty one when given null.
Parameters
- source — the result to copy, or
null
constructor(text: CharSequence)
Restores a result from text previously produced by buildCharSequence.
Parameters
- text — the rendered text to parse
constructor(parcel: Parcel)
Restores a result from a parcel.
Parameters
- parcel — the parcel to read from
constructor(bytes: ByteArray)
Restores a result previously serialised by writeBytes.
Parameters
- bytes — the serialised result