Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors#constants) \| [Inherited Methods](https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors#inhmethods)

# MbmsErrors.GeneralErrors

*** ** * ** ***


`
public
static


class
MbmsErrors.GeneralErrors
`


`

extends https://developer.android.com/reference/java/lang/Object


`

`


`

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.telephony.mbms.MbmsErrors.GeneralErrors |

<br />

*** ** * ** ***

Indicates the errors that may occur at any point and are applicable to both
streaming and file-download.

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors#ERROR_CARRIER_CHANGE_NOT_ALLOWED` Indicates that MBMS is not available due to the inserted SIM being from an unsupported carrier. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors#ERROR_IN_E911` Indicates that the requested operation was not performed due to being in emergency callback mode. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors#ERROR_MIDDLEWARE_NOT_YET_READY` Indicates that the app attempted to perform an operation before receiving notification that the middleware is ready via `https://developer.android.com/reference/android/telephony/mbms/MbmsStreamingSessionCallback#onMiddlewareReady()` or `https://developer.android.com/reference/android/telephony/mbms/MbmsDownloadSessionCallback#onMiddlewareReady()`. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors#ERROR_MIDDLEWARE_TEMPORARILY_UNAVAILABLE` Indicates that the requested operation failed due to the middleware being unavailable due to a transient condition. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors#ERROR_NOT_CONNECTED_TO_HOME_CARRIER_LTE` Indicates that MBMS is not available due to the device being in roaming. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors#ERROR_OUT_OF_MEMORY` Indicates that the middleware ran out of memory and was unable to complete the requested operation. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors#ERROR_UNABLE_TO_READ_SIM` Indicates that MBMS is not available due to a SIM read error. |

| ### Inherited methods |
|---|---|
| From class ` https://developer.android.com/reference/java/lang/Object ` |---|---| | ` https://developer.android.com/reference/java/lang/Object` | ` https://developer.android.com/reference/java/lang/Object#clone()() ` Creates and returns a copy of this object. | | ` boolean` | ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) ` Indicates whether some other object is "equal to" this one. | | ` void` | ` https://developer.android.com/reference/java/lang/Object#finalize()() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. | | ` final https://developer.android.com/reference/java/lang/Class<?>` | ` https://developer.android.com/reference/java/lang/Object#getClass()() ` Returns the runtime class of this `Object`. | | ` int` | ` https://developer.android.com/reference/java/lang/Object#hashCode()() ` Returns a hash code value for the object. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#notify()() ` Wakes up a single thread that is waiting on this object's monitor. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#notifyAll()() ` Wakes up all threads that are waiting on this object's monitor. | | ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/java/lang/Object#toString()() ` Returns a string representation of the object. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#wait()() ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*. | ||

## Constants

### ERROR_CARRIER_CHANGE_NOT_ALLOWED

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

```
public static final int ERROR_CARRIER_CHANGE_NOT_ALLOWED
```

Indicates that MBMS is not available due to the inserted SIM being from an unsupported
carrier.

<br />

Constant Value:

207
(0x000000cf)


### ERROR_IN_E911

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

```
public static final int ERROR_IN_E911
```

Indicates that the requested operation was not performed due to being in emergency
callback mode.

<br />

Constant Value:

204
(0x000000cc)


### ERROR_MIDDLEWARE_NOT_YET_READY

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

```
public static final int ERROR_MIDDLEWARE_NOT_YET_READY
```

Indicates that the app attempted to perform an operation before receiving notification
that the middleware is ready via `https://developer.android.com/reference/android/telephony/mbms/MbmsStreamingSessionCallback#onMiddlewareReady()`
or `https://developer.android.com/reference/android/telephony/mbms/MbmsDownloadSessionCallback#onMiddlewareReady()`.

<br />

Constant Value:

201
(0x000000c9)


### ERROR_MIDDLEWARE_TEMPORARILY_UNAVAILABLE

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

```
public static final int ERROR_MIDDLEWARE_TEMPORARILY_UNAVAILABLE
```

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.

<br />

Constant Value:

203
(0x000000cb)


### ERROR_NOT_CONNECTED_TO_HOME_CARRIER_LTE

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

```
public static final int ERROR_NOT_CONNECTED_TO_HOME_CARRIER_LTE
```

Indicates that MBMS is not available due to the device being in roaming.

<br />

Constant Value:

205
(0x000000cd)


### ERROR_OUT_OF_MEMORY

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

```
public static final int ERROR_OUT_OF_MEMORY
```

Indicates that the middleware ran out of memory and was unable to complete the requested
operation.

<br />

Constant Value:

202
(0x000000ca)


### ERROR_UNABLE_TO_READ_SIM

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

```
public static final int ERROR_UNABLE_TO_READ_SIM
```

Indicates that MBMS is not available due to a SIM read error.

<br />

Constant Value:

206
(0x000000ce)