Stay organized with collections
Save and categorize content based on your preferences.
MbmsErrors
open class MbmsErrors
Summary
Nested classes |
open |
Indicates the errors that are applicable only to the file-download use-case
|
open |
Indicates the errors that may occur at any point and are applicable to both streaming and file-download.
|
open |
Indicates the errors that are applicable only to the group call use-case.
|
open |
Indicates errors that may be generated during initialization by the middleware.
|
open |
Indicates the errors that are applicable only to the streaming use-case
|
Constants |
static Int |
Indicates that the middleware has died and the requested operation was not completed.
|
static Int |
Indicates that the app attempted to perform an operation on an instance of android.telephony.MbmsDownloadSession or MbmsStreamingSession without being bound to the middleware.
|
static Int |
Indicates that either no MBMS middleware app is installed on the device or multiple middleware apps are installed on the device.
|
static Int |
Indicates that the operation was successful.
|
static Int |
Indicates that the middleware has sent an error code that is not defined in the version of the SDK targeted by your app.
|
Constants
ERROR_MIDDLEWARE_LOST
static val ERROR_MIDDLEWARE_LOST: Int
Indicates that the middleware has died and the requested operation was not completed.
Value: 3
ERROR_NO_UNIQUE_MIDDLEWARE
static val ERROR_NO_UNIQUE_MIDDLEWARE: Int
Indicates that either no MBMS middleware app is installed on the device or multiple middleware apps are installed on the device.
Value: 1
SUCCESS
static val SUCCESS: Int
Indicates that the operation was successful.
Value: 0
UNKNOWN
static val UNKNOWN: Int
Indicates that the middleware has sent an error code that is not defined in the version of the SDK targeted by your app. This is an illegal value for the middleware to return -- it should only ever be generated by the framework.
Value: -1
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\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nMbmsErrors\n==========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/telephony/mbms/MbmsErrors \"View this page in Java\") \n\n```\nopen class MbmsErrors\n```\n\n|---|----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.telephony.mbms.MbmsErrors](#) |\n\nSummary\n-------\n\n| Nested classes ||\n|------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| open | [DownloadErrors](/reference/kotlin/android/telephony/mbms/MbmsErrors.DownloadErrors) Indicates the errors that are applicable only to the file-download use-case |\n| open | [GeneralErrors](/reference/kotlin/android/telephony/mbms/MbmsErrors.GeneralErrors) Indicates the errors that may occur at any point and are applicable to both streaming and file-download. |\n| open | [GroupCallErrors](/reference/kotlin/android/telephony/mbms/MbmsErrors.GroupCallErrors) Indicates the errors that are applicable only to the group call use-case. |\n| open | [InitializationErrors](/reference/kotlin/android/telephony/mbms/MbmsErrors.InitializationErrors) Indicates errors that may be generated during initialization by the middleware. |\n| open | [StreamingErrors](/reference/kotlin/android/telephony/mbms/MbmsErrors.StreamingErrors) Indicates the errors that are applicable only to the streaming use-case |\n\n| Constants ||\n|-----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_MIDDLEWARE_LOST](#ERROR_MIDDLEWARE_LOST:kotlin.Int) Indicates that the middleware has died and the requested operation was not completed. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_MIDDLEWARE_NOT_BOUND](#ERROR_MIDDLEWARE_NOT_BOUND:kotlin.Int) Indicates that the app attempted to perform an operation on an instance of [android.telephony.MbmsDownloadSession](../MbmsDownloadSession.html#) or [MbmsStreamingSession](../MbmsStreamingSession.html#) without being bound to the middleware. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_NO_UNIQUE_MIDDLEWARE](#ERROR_NO_UNIQUE_MIDDLEWARE:kotlin.Int) Indicates that either no MBMS middleware app is installed on the device or multiple middleware apps are installed on the device. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SUCCESS](#SUCCESS:kotlin.Int) Indicates that the operation was successful. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [UNKNOWN](#UNKNOWN:kotlin.Int) Indicates that the middleware has sent an error code that is not defined in the version of the SDK targeted by your app. |\n\nConstants\n---------\n\n### ERROR_MIDDLEWARE_LOST\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_MIDDLEWARE_LOST: Int\n```\n\nIndicates that the middleware has died and the requested operation was not completed. \n\n Value: 3\n\n### ERROR_MIDDLEWARE_NOT_BOUND\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_BOUND: Int\n```\n\nIndicates that the app attempted to perform an operation on an instance of [android.telephony.MbmsDownloadSession](../MbmsDownloadSession.html#) or [MbmsStreamingSession](../MbmsStreamingSession.html#) without being bound to the middleware. \n\n Value: 2\n\n### ERROR_NO_UNIQUE_MIDDLEWARE\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_NO_UNIQUE_MIDDLEWARE: Int\n```\n\nIndicates that either no MBMS middleware app is installed on the device or multiple middleware apps are installed on the device. \n\n Value: 1\n\n### SUCCESS\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SUCCESS: Int\n```\n\nIndicates that the operation was successful. \n\n Value: 0\n\n### UNKNOWN\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val UNKNOWN: Int\n```\n\nIndicates that the middleware has sent an error code that is not defined in the version of the SDK targeted by your app. This is an illegal value for the middleware to return -- it should only ever be generated by the framework. \n\n Value: -1"]]