Stay organized with collections
Save and categorize content based on your preferences.
InitializationErrors
open class InitializationErrors
Indicates errors that may be generated during initialization by the middleware. They are applicable to both streaming and file-download use-cases.
Summary
Constants
ERROR_APP_PERMISSIONS_NOT_GRANTED
static val ERROR_APP_PERMISSIONS_NOT_GRANTED: Int
Indicates that the app is not authorized to access media via MBMS.
Value: 102
ERROR_UNABLE_TO_INITIALIZE
static val ERROR_UNABLE_TO_INITIALIZE: Int
Indicates that the middleware was unable to initialize for this app.
Value: 103
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.InitializationErrors\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nInitializationErrors\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/telephony/mbms/MbmsErrors.InitializationErrors \"View this page in Java\") \n\n```\nopen class InitializationErrors\n```\n\n|---|-------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.telephony.mbms.MbmsErrors.InitializationErrors](#) |\n\nIndicates errors that may be generated during initialization by the middleware. They are applicable to both streaming and file-download use-cases.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_APP_PERMISSIONS_NOT_GRANTED](#ERROR_APP_PERMISSIONS_NOT_GRANTED:kotlin.Int) Indicates that the app is not authorized to access media via MBMS. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_DUPLICATE_INITIALIZE](#ERROR_DUPLICATE_INITIALIZE:kotlin.Int) Indicates that the app tried to create more than one instance each of [MbmsStreamingSession](../MbmsStreamingSession.html#) or [android.telephony.MbmsDownloadSession](../MbmsDownloadSession.html#). |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_UNABLE_TO_INITIALIZE](#ERROR_UNABLE_TO_INITIALIZE:kotlin.Int) Indicates that the middleware was unable to initialize for this app. |\n\nConstants\n---------\n\n### ERROR_APP_PERMISSIONS_NOT_GRANTED\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_APP_PERMISSIONS_NOT_GRANTED: Int\n```\n\nIndicates that the app is not authorized to access media via MBMS. \n\n Value: 102\n\n### ERROR_DUPLICATE_INITIALIZE\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_DUPLICATE_INITIALIZE: Int\n```\n\nIndicates that the app tried to create more than one instance each of [MbmsStreamingSession](../MbmsStreamingSession.html#) or [android.telephony.MbmsDownloadSession](../MbmsDownloadSession.html#). \n\n Value: 101\n\n### ERROR_UNABLE_TO_INITIALIZE\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_INITIALIZE: Int\n```\n\nIndicates that the middleware was unable to initialize for this app. \n\n Value: 103"]]