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

# MbmsErrors

*** ** * ** ***

` public class MbmsErrors `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

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

<br />

*** ** * ** ***

## Summary

| ### Nested classes ||
|---|---|
| ` class` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.DownloadErrors` Indicates the errors that are applicable only to the file-download use-case |
| ` class` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GeneralErrors` Indicates the errors that may occur at any point and are applicable to both streaming and file-download. |
| ` class` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.GroupCallErrors` Indicates the errors that are applicable only to the group call use-case. |
| ` class` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.InitializationErrors` Indicates errors that may be generated during initialization by the middleware. |
| ` class` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors.StreamingErrors` Indicates the errors that are applicable only to the streaming use-case |

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors#ERROR_MIDDLEWARE_LOST` Indicates that the middleware has died and the requested operation was not completed. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors#ERROR_MIDDLEWARE_NOT_BOUND` Indicates that the app attempted to perform an operation on an instance of `https://developer.android.com/reference/android/telephony/MbmsDownloadSession` or `https://developer.android.com/reference/android/telephony/MbmsStreamingSession` without being bound to the middleware. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors#ERROR_NO_UNIQUE_MIDDLEWARE` Indicates that either no MBMS middleware app is installed on the device or multiple middleware apps are installed on the device. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors#SUCCESS` Indicates that the operation was successful. |
| `int` | `https://developer.android.com/reference/android/telephony/mbms/MbmsErrors#UNKNOWN` Indicates that the middleware has sent an error code that is not defined in the version of the SDK targeted by your app. |

### 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_MIDDLEWARE_LOST

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

```
public static final int ERROR_MIDDLEWARE_LOST
```

Indicates that the middleware has died and the requested operation was not completed.

<br />

Constant Value: 3 (0x00000003)

### ERROR_MIDDLEWARE_NOT_BOUND

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

```
public static final int ERROR_MIDDLEWARE_NOT_BOUND
```

Indicates that the app attempted to perform an operation on an instance of `https://developer.android.com/reference/android/telephony/MbmsDownloadSession` or `https://developer.android.com/reference/android/telephony/MbmsStreamingSession` without being bound to the middleware.

<br />

Constant Value: 2 (0x00000002)

### ERROR_NO_UNIQUE_MIDDLEWARE

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

```
public static final int ERROR_NO_UNIQUE_MIDDLEWARE
```

Indicates that either no MBMS middleware app is installed on the device or multiple middleware apps are installed on the device.

<br />

Constant Value: 1 (0x00000001)

### SUCCESS

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

```
public static final int SUCCESS
```

Indicates that the operation was successful.

<br />

Constant Value: 0 (0x00000000)

### UNKNOWN

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

```
public static final int UNKNOWN
```

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.

<br />

Constant Value: -1 (0xffffffff)