# OnDeviceModelStatus


```
public final class OnDeviceModelStatus
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
> Use \`GenerativeModel.OnDeviceExtension\` from \`firebase-ai\` instead

Represents the current status of the on-device AI model.

## Summary

| ### Nested types |
|---|
| `public static class https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/OnDeviceModelStatus` |

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/OnDeviceModelStatus#AVAILABLE()` The on-device model is available and ready for use. |
| `static final @https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/OnDeviceModelStatus#DOWNLOADABLE()` The on-device model is available for download. |
| `static final @https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/OnDeviceModelStatus#DOWNLOADING()` The on-device model is currently being downloaded. |
| `static final @https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/OnDeviceModelStatus#UNAVAILABLE()` The on-device model is unavailable on the device. |

## Public fields

### AVAILABLE

```
public static final @NonNull OnDeviceModelStatus AVAILABLE
```

The on-device model is available and ready for use.

### DOWNLOADABLE

```
public static final @NonNull OnDeviceModelStatus DOWNLOADABLE
```

The on-device model is available for download.

### DOWNLOADING

```
public static final @NonNull OnDeviceModelStatus DOWNLOADING
```

The on-device model is currently being downloaded.

### UNAVAILABLE

```
public static final @NonNull OnDeviceModelStatus UNAVAILABLE
```

The on-device model is unavailable on the device.