Stay organized with collections
Save and categorize content based on your preferences.
DownloadErrors
open class DownloadErrors
Indicates the errors that are applicable only to the file-download use-case
Summary
Constants
ERROR_CANNOT_CHANGE_TEMP_FILE_ROOT
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_UNKNOWN_DOWNLOAD_REQUEST
static val ERROR_UNKNOWN_DOWNLOAD_REQUEST: Int
Indicates that the middleware has no record of the supplied DownloadRequest
.
Value: 402
ERROR_UNKNOWN_FILE_INFO
static val ERROR_UNKNOWN_FILE_INFO: Int
Indicates the the middleware has no record of the supplied FileInfo
Value: 403
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# MbmsErrors.DownloadErrors\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDownloadErrors\n==============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/telephony/mbms/MbmsErrors.DownloadErrors \"View this page in Java\") \n\n```\nopen class DownloadErrors\n```\n\n|---|-------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.telephony.mbms.MbmsErrors.DownloadErrors](#) |\n\nIndicates the errors that are applicable only to the file-download use-case\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_CANNOT_CHANGE_TEMP_FILE_ROOT](#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. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_MALFORMED_SERVICE_ANNOUNCEMENT](#ERROR_MALFORMED_SERVICE_ANNOUNCEMENT:kotlin.Int) Indicates that the service announcement descriptor passed via [android.telephony.MbmsDownloadSession#addServiceAnnouncement(byte[])](../MbmsDownloadSession.html#addServiceAnnouncement(kotlin.ByteArray)) is malformed. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_UNKNOWN_DOWNLOAD_REQUEST](#ERROR_UNKNOWN_DOWNLOAD_REQUEST:kotlin.Int) Indicates that the middleware has no record of the supplied [DownloadRequest](/reference/kotlin/android/telephony/mbms/DownloadRequest). |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_UNKNOWN_FILE_INFO](#ERROR_UNKNOWN_FILE_INFO:kotlin.Int) Indicates the the middleware has no record of the supplied [FileInfo](/reference/kotlin/android/telephony/mbms/FileInfo) |\n\nConstants\n---------\n\n### ERROR_CANNOT_CHANGE_TEMP_FILE_ROOT\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_CANNOT_CHANGE_TEMP_FILE_ROOT: Int\n```\n\nIndicates that the app is not allowed to change the temp file root at this time due to outstanding download requests. \n\n Value: 401\n\n### ERROR_MALFORMED_SERVICE_ANNOUNCEMENT\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_MALFORMED_SERVICE_ANNOUNCEMENT: Int\n```\n\nIndicates that the service announcement descriptor passed via [android.telephony.MbmsDownloadSession#addServiceAnnouncement(byte[])](../MbmsDownloadSession.html#addServiceAnnouncement(kotlin.ByteArray)) is malformed. \n\n Value: 404\n\n### ERROR_UNKNOWN_DOWNLOAD_REQUEST\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_UNKNOWN_DOWNLOAD_REQUEST: Int\n```\n\nIndicates that the middleware has no record of the supplied [DownloadRequest](/reference/kotlin/android/telephony/mbms/DownloadRequest). \n\n Value: 402\n\n### ERROR_UNKNOWN_FILE_INFO\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_UNKNOWN_FILE_INFO: Int\n```\n\nIndicates the the middleware has no record of the supplied [FileInfo](/reference/kotlin/android/telephony/mbms/FileInfo) \n\n Value: 403"]]