Resolution

data class Resolution(val app: AppEntry?, val confident: Boolean, val candidates: List<AppEntry>, val score: Float = 0.0f)(source)

The result of resolving a name to an installed app:

  • app null with empty candidates → no match (say "can't find it"),

  • confident true → open immediately,

  • confident false → ask; candidates holds the "did you mean…" options (best first, includes app).

Constructors

Link copied to clipboard
constructor(app: AppEntry?, confident: Boolean, candidates: List<AppEntry>, score: Float = 0.0f)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Match strength in 0,1; drives the confidence policy.