# OnDeviceModelStatus


```
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

| ### Public companion properties |
|---|---|
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/OnDeviceModelStatus#AVAILABLE()` The on-device model is available and ready for use. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/OnDeviceModelStatus#DOWNLOADABLE()` The on-device model is available for download. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/OnDeviceModelStatus#DOWNLOADING()` The on-device model is currently being downloaded. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/OnDeviceModelStatus#UNAVAILABLE()` The on-device model is unavailable on the device. |

## Public companion properties

### AVAILABLE

```
val AVAILABLE: OnDeviceModelStatus
```

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

### DOWNLOADABLE

```
val DOWNLOADABLE: OnDeviceModelStatus
```

The on-device model is available for download.

### DOWNLOADING

```
val DOWNLOADING: OnDeviceModelStatus
```

The on-device model is currently being downloaded.

### UNAVAILABLE

```
val UNAVAILABLE: OnDeviceModelStatus
```

The on-device model is unavailable on the device.