Stay organized with collections
Save and categorize content based on your preferences.
GeneralErrors
open class GeneralErrors
Indicates the errors that may occur at any point and are applicable to both streaming and file-download.
Summary
Constants |
static Int |
Indicates that MBMS is not available due to the inserted SIM being from an unsupported carrier.
|
static Int |
Indicates that the requested operation was not performed due to being in emergency callback mode.
|
static Int |
Indicates that the app attempted to perform an operation before receiving notification that the middleware is ready via MbmsStreamingSessionCallback.onMiddlewareReady() or MbmsDownloadSessionCallback.onMiddlewareReady() .
|
static Int |
Indicates that the requested operation failed due to the middleware being unavailable due to a transient condition.
|
static Int |
Indicates that MBMS is not available due to the device being in roaming.
|
static Int |
Indicates that the middleware ran out of memory and was unable to complete the requested operation.
|
static Int |
Indicates that MBMS is not available due to a SIM read error.
|
Constants
ERROR_CARRIER_CHANGE_NOT_ALLOWED
static val ERROR_CARRIER_CHANGE_NOT_ALLOWED: Int
Indicates that MBMS is not available due to the inserted SIM being from an unsupported carrier.
Value: 207
ERROR_IN_E911
static val ERROR_IN_E911: Int
Indicates that the requested operation was not performed due to being in emergency callback mode.
Value: 204
ERROR_MIDDLEWARE_TEMPORARILY_UNAVAILABLE
static val ERROR_MIDDLEWARE_TEMPORARILY_UNAVAILABLE: Int
Indicates that the requested operation failed due to the middleware being unavailable due to a transient condition. The app may retry the operation at a later time.
Value: 203
ERROR_NOT_CONNECTED_TO_HOME_CARRIER_LTE
static val ERROR_NOT_CONNECTED_TO_HOME_CARRIER_LTE: Int
Indicates that MBMS is not available due to the device being in roaming.
Value: 205
ERROR_OUT_OF_MEMORY
static val ERROR_OUT_OF_MEMORY: Int
Indicates that the middleware ran out of memory and was unable to complete the requested operation.
Value: 202
ERROR_UNABLE_TO_READ_SIM
static val ERROR_UNABLE_TO_READ_SIM: Int
Indicates that MBMS is not available due to a SIM read error.
Value: 206
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.GeneralErrors\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nGeneralErrors\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/telephony/mbms/MbmsErrors.GeneralErrors \"View this page in Java\") \n\n```\nopen class GeneralErrors\n```\n\n|---|------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.telephony.mbms.MbmsErrors.GeneralErrors](#) |\n\nIndicates the errors that may occur at any point and are applicable to both streaming and file-download.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_CARRIER_CHANGE_NOT_ALLOWED](#ERROR_CARRIER_CHANGE_NOT_ALLOWED:kotlin.Int) Indicates that MBMS is not available due to the inserted SIM being from an unsupported carrier. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_IN_E911](#ERROR_IN_E911:kotlin.Int) Indicates that the requested operation was not performed due to being in emergency callback mode. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_MIDDLEWARE_NOT_YET_READY](#ERROR_MIDDLEWARE_NOT_YET_READY:kotlin.Int) Indicates that the app attempted to perform an operation before receiving notification that the middleware is ready via [MbmsStreamingSessionCallback.onMiddlewareReady()](/reference/kotlin/android/telephony/mbms/MbmsStreamingSessionCallback#onMiddlewareReady()) or [MbmsDownloadSessionCallback.onMiddlewareReady()](/reference/kotlin/android/telephony/mbms/MbmsDownloadSessionCallback#onMiddlewareReady()). |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_MIDDLEWARE_TEMPORARILY_UNAVAILABLE](#ERROR_MIDDLEWARE_TEMPORARILY_UNAVAILABLE:kotlin.Int) Indicates that the requested operation failed due to the middleware being unavailable due to a transient condition. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_NOT_CONNECTED_TO_HOME_CARRIER_LTE](#ERROR_NOT_CONNECTED_TO_HOME_CARRIER_LTE:kotlin.Int) Indicates that MBMS is not available due to the device being in roaming. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_OUT_OF_MEMORY](#ERROR_OUT_OF_MEMORY:kotlin.Int) Indicates that the middleware ran out of memory and was unable to complete the requested operation. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_UNABLE_TO_READ_SIM](#ERROR_UNABLE_TO_READ_SIM:kotlin.Int) Indicates that MBMS is not available due to a SIM read error. |\n\nConstants\n---------\n\n### ERROR_CARRIER_CHANGE_NOT_ALLOWED\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_CARRIER_CHANGE_NOT_ALLOWED: Int\n```\n\nIndicates that MBMS is not available due to the inserted SIM being from an unsupported carrier. \n\n Value: 207\n\n### ERROR_IN_E911\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_IN_E911: Int\n```\n\nIndicates that the requested operation was not performed due to being in emergency callback mode. \n\n Value: 204\n\n### ERROR_MIDDLEWARE_NOT_YET_READY\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_MIDDLEWARE_NOT_YET_READY: Int\n```\n\nIndicates that the app attempted to perform an operation before receiving notification that the middleware is ready via [MbmsStreamingSessionCallback.onMiddlewareReady()](/reference/kotlin/android/telephony/mbms/MbmsStreamingSessionCallback#onMiddlewareReady()) or [MbmsDownloadSessionCallback.onMiddlewareReady()](/reference/kotlin/android/telephony/mbms/MbmsDownloadSessionCallback#onMiddlewareReady()). \n\n Value: 201\n\n### ERROR_MIDDLEWARE_TEMPORARILY_UNAVAILABLE\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_MIDDLEWARE_TEMPORARILY_UNAVAILABLE: Int\n```\n\nIndicates that the requested operation failed due to the middleware being unavailable due to a transient condition. The app may retry the operation at a later time. \n\n Value: 203\n\n### ERROR_NOT_CONNECTED_TO_HOME_CARRIER_LTE\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_NOT_CONNECTED_TO_HOME_CARRIER_LTE: Int\n```\n\nIndicates that MBMS is not available due to the device being in roaming. \n\n Value: 205\n\n### ERROR_OUT_OF_MEMORY\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_OUT_OF_MEMORY: Int\n```\n\nIndicates that the middleware ran out of memory and was unable to complete the requested operation. \n\n Value: 202\n\n### ERROR_UNABLE_TO_READ_SIM\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_UNABLE_TO_READ_SIM: Int\n```\n\nIndicates that MBMS is not available due to a SIM read error. \n\n Value: 206"]]