Reason

sealed class Reason(source)

Why a model can't be used — outcomes an app can act on, not backend internals.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard

Ineligible hardware or an unsupported OS version.

Link copied to clipboard

No usable model: not downloaded, still preparing, or not registered.

Link copied to clipboard

AI features are turned off, by the user or by configuration.

Link copied to clipboard
data class Other(val description: String) : ModelAvailability.Reason

Any other reason.