# DownloadStatus.DownloadFailed

# DownloadStatus.DownloadFailed


```
class DownloadStatus.DownloadFailed : DownloadStatus
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.firebase.ai.ondevice.DownloadStatus](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/DownloadStatus) ||
|   | ↳ | [com.google.firebase.ai.ondevice.DownloadStatus.DownloadFailed](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/DownloadStatus.DownloadFailed) |

*** ** * ** ***

Represents when a download has failed.

## Summary

| ### Public properties |
|---|---|
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/interop/FirebaseAIOnDeviceException` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/DownloadStatus.DownloadFailed#exception()` The `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/ai/ondevice/interop/FirebaseAIOnDeviceException` that describes the reason for the download failure. |

## Public properties

### exception

```
val exception: FirebaseAIOnDeviceException
```

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