# MbmsErrors.InitializationErrors

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

# InitializationErrors

*** ** * ** ***

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

```
open class InitializationErrors
```

|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                   ||
| ↳ | [android.telephony.mbms.MbmsErrors.InitializationErrors](https://developer.android.com/reference/kotlin/android/telephony/mbms/MbmsErrors.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                                                                                                                                                                                                                                                                                          ||
|----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_APP_PERMISSIONS_NOT_GRANTED](https://developer.android.com/reference/kotlin/android/telephony/mbms/MbmsErrors.InitializationErrors#ERROR_APP_PERMISSIONS_NOT_GRANTED:kotlin.Int) Indicates that the app is not authorized to access media via MBMS.                                                                                                                                                                                                                                               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_DUPLICATE_INITIALIZE](https://developer.android.com/reference/kotlin/android/telephony/mbms/MbmsErrors.InitializationErrors#ERROR_DUPLICATE_INITIALIZE:kotlin.Int) Indicates that the app tried to create more than one instance each of[MbmsStreamingSession](https://developer.android.com/reference/kotlin/android/telephony/MbmsStreamingSession.html#)or[android.telephony.MbmsDownloadSession](https://developer.android.com/reference/kotlin/android/telephony/MbmsDownloadSession.html#). |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ERROR_UNABLE_TO_INITIALIZE](https://developer.android.com/reference/kotlin/android/telephony/mbms/MbmsErrors.InitializationErrors#ERROR_UNABLE_TO_INITIALIZE:kotlin.Int) Indicates that the middleware was unable to initialize for this app.                                                                                                                                                                                                                                                           |

## Constants

### ERROR_APP_PERMISSIONS_NOT_GRANTED

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

```
static val ERROR_APP_PERMISSIONS_NOT_GRANTED: Int
```

Indicates that the app is not authorized to access media via MBMS.  

    Value: 102

### ERROR_DUPLICATE_INITIALIZE

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

```
static val ERROR_DUPLICATE_INITIALIZE: Int
```

Indicates that the app tried to create more than one instance each of[MbmsStreamingSession](https://developer.android.com/reference/kotlin/android/telephony/MbmsStreamingSession.html#)or[android.telephony.MbmsDownloadSession](https://developer.android.com/reference/kotlin/android/telephony/MbmsDownloadSession.html#).  

    Value: 101

### ERROR_UNABLE_TO_INITIALIZE

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

```
static val ERROR_UNABLE_TO_INITIALIZE: Int
```

Indicates that the middleware was unable to initialize for this app.  

    Value: 103