# MbmsErrors.DownloadErrors

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# DownloadErrors

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.DownloadErrors "View this page in Java")  

```
open class DownloadErrors
```

|---|------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                       ||
| ↳ | [android.telephony.mbms.MbmsErrors.DownloadErrors](https://developer.android.com/reference/kotlin/android/telephony/mbms/MbmsErrors.DownloadErrors#) |

Indicates the errors that are applicable only to the file-download use-case

## Summary

|                                                                                                                                                                                                                                                                           Constants                                                                                                                                                                                                                                                                            ||
|----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_CANNOT_CHANGE_TEMP_FILE_ROOT](https://developer.android.com/reference/kotlin/android/telephony/mbms/MbmsErrors.DownloadErrors#ERROR_CANNOT_CHANGE_TEMP_FILE_ROOT:kotlin.Int) Indicates that the app is not allowed to change the temp file root at this time due to outstanding download requests.                                                                                                                                                                    |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_MALFORMED_SERVICE_ANNOUNCEMENT](https://developer.android.com/reference/kotlin/android/telephony/mbms/MbmsErrors.DownloadErrors#ERROR_MALFORMED_SERVICE_ANNOUNCEMENT:kotlin.Int) Indicates that the service announcement descriptor passed via[android.telephony.MbmsDownloadSession#addServiceAnnouncement(byte[])](https://developer.android.com/reference/kotlin/android/telephony/MbmsDownloadSession.html#addServiceAnnouncement(kotlin.ByteArray))is malformed. |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_UNKNOWN_DOWNLOAD_REQUEST](https://developer.android.com/reference/kotlin/android/telephony/mbms/MbmsErrors.DownloadErrors#ERROR_UNKNOWN_DOWNLOAD_REQUEST:kotlin.Int) Indicates that the middleware has no record of the supplied[DownloadRequest](https://developer.android.com/reference/kotlin/android/telephony/mbms/DownloadRequest).                                                                                                                             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_UNKNOWN_FILE_INFO](https://developer.android.com/reference/kotlin/android/telephony/mbms/MbmsErrors.DownloadErrors#ERROR_UNKNOWN_FILE_INFO:kotlin.Int) Indicates the the middleware has no record of the supplied[FileInfo](https://developer.android.com/reference/kotlin/android/telephony/mbms/FileInfo)                                                                                                                                                           |

## Constants

### ERROR_CANNOT_CHANGE_TEMP_FILE_ROOT

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val ERROR_CANNOT_CHANGE_TEMP_FILE_ROOT: Int
```

Indicates that the app is not allowed to change the temp file root at this time due to outstanding download requests.  

    Value: 401

### ERROR_MALFORMED_SERVICE_ANNOUNCEMENT

Added in[API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val ERROR_MALFORMED_SERVICE_ANNOUNCEMENT: Int
```

Indicates that the service announcement descriptor passed via[android.telephony.MbmsDownloadSession#addServiceAnnouncement(byte[])](https://developer.android.com/reference/kotlin/android/telephony/MbmsDownloadSession.html#addServiceAnnouncement(kotlin.ByteArray))is malformed.  

    Value: 404

### ERROR_UNKNOWN_DOWNLOAD_REQUEST

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val ERROR_UNKNOWN_DOWNLOAD_REQUEST: Int
```

Indicates that the middleware has no record of the supplied[DownloadRequest](https://developer.android.com/reference/kotlin/android/telephony/mbms/DownloadRequest).  

    Value: 402

### ERROR_UNKNOWN_FILE_INFO

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val ERROR_UNKNOWN_FILE_INFO: Int
```

Indicates the the middleware has no record of the supplied[FileInfo](https://developer.android.com/reference/kotlin/android/telephony/mbms/FileInfo)  

    Value: 403