pub type UnavailabilityReason = AvailabilityError;Expand description
Compatibility alias for the older availability error name.
Aliased Type§
pub enum UnavailabilityReason {
DeviceNotEligible,
NotEnabled,
ModelNotReady,
Unknown,
}Variants§
DeviceNotEligible
The device does not have compatible hardware (requires Apple Silicon M1 or later).
NotEnabled
Apple Intelligence is supported but has not been enabled in System Settings.
ModelNotReady
The on-device model is still downloading or is otherwise not ready.
Unknown
An unrecognized availability state was returned by the framework.