data class Candidate
A candidate for autocorrection, next word prediction or swipe typing.
Candidate(type: CandidateType, score: Float, replacements: List<Replacement>)
val type: CandidateType
The type of the candidate.
val score: Float
The accuracy of the candidate.
val replacements: List<Replacement>
An array of the text replacements that the candidate consists of.
If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.
Last updated on July 29, 2022