# DownloadStatus.DownloadFailed

# DownloadStatus.DownloadFailed


```
public final class DownloadStatus.DownloadFailed extends DownloadStatus
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/kotlin/java/lang/Object.html) |||
| ↳ | [com.google.firebase.ai.ondevice.DownloadStatus](https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/DownloadStatus) ||
|   | ↳ | [com.google.firebase.ai.ondevice.DownloadStatus.DownloadFailed](https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/DownloadStatus.DownloadFailed) |

*** ** * ** ***

Represents when a download has failed.

## Summary

| ### Public fields |
|---|---|
| `final @https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/interop/FirebaseAIOnDeviceException` | `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/DownloadStatus.DownloadFailed#exception()` The `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/interop/FirebaseAIOnDeviceException` that describes the reason for the download failure. |

## Public fields

### exception

```
public final @NonNull FirebaseAIOnDeviceException exception
```

The `https://firebase.google.com/docs/reference/android/com/google/firebase/ai/ondevice/interop/FirebaseAIOnDeviceException` that describes the reason for the download failure.