# OnDeviceModelStatus


```
@PublicPreviewAPI
class OnDeviceModelStatus
```

<br />

*** ** * ** ***

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/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus#AVAILABLE()` The on-device model is available and ready for use. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus#DOWNLOADABLE()` The on-device model is available for download. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus#DOWNLOADING()` The on-device model is currently being downloaded. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus#UNAVAILABLE()` The on-device model is unavailable on the device. |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus#equals(kotlin.Any)(other: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus#hashCode()()` |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/OnDeviceModelStatus#toString()()` |

## 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.

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```