# OnDeviceModelStatus


```
@PublicPreviewAPI
public final class OnDeviceModelStatus
```

<br />

*** ** * ** ***

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/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/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/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/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/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/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/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/OnDeviceModelStatus` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/OnDeviceModelStatus#UNAVAILABLE()` The on-device model is unavailable on the device. |

| ### Public methods |
|---|---|
| `boolean` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/OnDeviceModelStatus#equals(kotlin.Any)(https://developer.android.com/reference/kotlin/java/lang/Object.html other)` |
| `int` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/OnDeviceModelStatus#hashCode()()` |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html https://developer.android.com/reference/kotlin/java/lang/String.html` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/OnDeviceModelStatus#toString()()` |

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

## Public methods

### equals

```
public boolean equals(Object other)
```

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```