# MbmsDownloadReceiver

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

# MbmsDownloadReceiver

*** ** * ** ***

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

`
public


class
MbmsDownloadReceiver
`  
`


``

extends `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver)`


``


`

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

<br />

*** ** * ** ***

The[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver)responsible for handling intents sent from the middleware. Apps that wish to download using MBMS APIs should declare this class in their AndroidManifest.xml as follows:  

    <receiver
        android:name="android.telephony.mbms.MbmsDownloadReceiver"
        android:permission="android.permission.SEND_EMBMS_INTENTS"
        android:enabled="true"
        android:exported="true">
     </receiver>

<br />

## Summary

|                                                            ### Public constructors                                                            ||
|--------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[MbmsDownloadReceiver](https://developer.android.com/reference/android/telephony/mbms/MbmsDownloadReceiver#MbmsDownloadReceiver())`() ` |

| ### Inherited methods |
|-----------------------|---|
| From class` `[android.content.BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver)` ` |-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` final void`                                                                                                                       | ` `[abortBroadcast](https://developer.android.com/reference/android/content/BroadcastReceiver#abortBroadcast())`() ` Sets the flag indicating that this receiver should abort the current broadcast; only works with broadcasts sent through[Context.sendOrderedBroadcast](https://developer.android.com/reference/android/content/Context#sendOrderedBroadcast(android.content.Intent,%20java.lang.String)).                                                                                                                                                                                 | | ` final void`                                                                                                                       | ` `[clearAbortBroadcast](https://developer.android.com/reference/android/content/BroadcastReceiver#clearAbortBroadcast())`() ` Clears the flag indicating that this receiver should abort the current broadcast.                                                                                                                                                                                                                                                                                                                                                                              | | ` final boolean`                                                                                                                    | ` `[getAbortBroadcast](https://developer.android.com/reference/android/content/BroadcastReceiver#getAbortBroadcast())`() ` Returns the flag indicating whether or not this receiver should abort the current broadcast.                                                                                                                                                                                                                                                                                                                                                                       | | ` final boolean`                                                                                                                    | ` `[getDebugUnregister](https://developer.android.com/reference/android/content/BroadcastReceiver#getDebugUnregister())`() ` Return the last value given to[setDebugUnregister(boolean)](https://developer.android.com/reference/android/content/BroadcastReceiver#setDebugUnregister(boolean)).                                                                                                                                                                                                                                                                                              | | ` final int`                                                                                                                        | ` `[getResultCode](https://developer.android.com/reference/android/content/BroadcastReceiver#getResultCode())`() ` Retrieve the current result code, as set by the previous receiver.                                                                                                                                                                                                                                                                                                                                                                                                         | | ` final `[String](https://developer.android.com/reference/java/lang/String)                                                         | ` `[getResultData](https://developer.android.com/reference/android/content/BroadcastReceiver#getResultData())`() ` Retrieve the current result data, as set by the previous receiver.                                                                                                                                                                                                                                                                                                                                                                                                         | | ` final `[Bundle](https://developer.android.com/reference/android/os/Bundle)                                                        | ` `[getResultExtras](https://developer.android.com/reference/android/content/BroadcastReceiver#getResultExtras(boolean))`(boolean makeMap) ` Retrieve the current result extra data, as set by the previous receiver.                                                                                                                                                                                                                                                                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)                                                               | ` `[getSentFromPackage](https://developer.android.com/reference/android/content/BroadcastReceiver#getSentFromPackage())`() ` Returns the package name of the app that initially sent this broadcast.                                                                                                                                                                                                                                                                                                                                                                                          | | ` int`                                                                                                                              | ` `[getSentFromUid](https://developer.android.com/reference/android/content/BroadcastReceiver#getSentFromUid())`() ` Returns the uid of the app that initially sent this broadcast.                                                                                                                                                                                                                                                                                                                                                                                                           | | ` final `[BroadcastReceiver.PendingResult](https://developer.android.com/reference/android/content/BroadcastReceiver.PendingResult) | ` `[goAsync](https://developer.android.com/reference/android/content/BroadcastReceiver#goAsync())`() ` This can be called by an application in[onReceive(Context, Intent)](https://developer.android.com/reference/android/content/BroadcastReceiver#onReceive(android.content.Context,%20android.content.Intent))to allow it to keep the broadcast active after returning from that function.                                                                                                                                                                                                | | ` final boolean`                                                                                                                    | ` `[isInitialStickyBroadcast](https://developer.android.com/reference/android/content/BroadcastReceiver#isInitialStickyBroadcast())`() ` Returns true if the receiver is currently processing the initial value of a sticky broadcast -- that is, the value that was last broadcast and is currently held in the sticky cache, so this is not directly the result of a broadcast right now.                                                                                                                                                                                                   | | ` final boolean`                                                                                                                    | ` `[isOrderedBroadcast](https://developer.android.com/reference/android/content/BroadcastReceiver#isOrderedBroadcast())`() ` Returns true if the receiver is currently processing an ordered broadcast.                                                                                                                                                                                                                                                                                                                                                                                       | | ` abstract void`                                                                                                                    | ` `[onReceive](https://developer.android.com/reference/android/content/BroadcastReceiver#onReceive(android.content.Context,%20android.content.Intent))`(`[Context](https://developer.android.com/reference/android/content/Context)` context, `[Intent](https://developer.android.com/reference/android/content/Intent)` intent) ` This method is called when the BroadcastReceiver is receiving an Intent broadcast.                                                                                                                                                                         | | ` `[IBinder](https://developer.android.com/reference/android/os/IBinder)                                                            | ` `[peekService](https://developer.android.com/reference/android/content/BroadcastReceiver#peekService(android.content.Context,%20android.content.Intent))`(`[Context](https://developer.android.com/reference/android/content/Context)` myContext, `[Intent](https://developer.android.com/reference/android/content/Intent)` service) ` Provide a binder to an already-bound service.                                                                                                                                                                                                       | | ` final void`                                                                                                                       | ` `[setDebugUnregister](https://developer.android.com/reference/android/content/BroadcastReceiver#setDebugUnregister(boolean))`(boolean debug) ` Control inclusion of debugging help for mismatched calls to[Context.registerReceiver()](https://developer.android.com/reference/android/content/Context#registerReceiver(android.content.BroadcastReceiver,%20android.content.IntentFilter)).                                                                                                                                                                                                | | ` final void`                                                                                                                       | ` `[setOrderedHint](https://developer.android.com/reference/android/content/BroadcastReceiver#setOrderedHint(boolean))`(boolean isOrdered) ` For internal use, sets the hint about whether this BroadcastReceiver is running in ordered mode.                                                                                                                                                                                                                                                                                                                                                 | | ` final void`                                                                                                                       | ` `[setResult](https://developer.android.com/reference/android/content/BroadcastReceiver#setResult(int,%20java.lang.String,%20android.os.Bundle))`(int code, `[String](https://developer.android.com/reference/java/lang/String)` data, `[Bundle](https://developer.android.com/reference/android/os/Bundle)` extras) ` Change all of the result data returned from this broadcasts; only works with broadcasts sent through[Context.sendOrderedBroadcast](https://developer.android.com/reference/android/content/Context#sendOrderedBroadcast(android.content.Intent,%20java.lang.String)). | | ` final void`                                                                                                                       | ` `[setResultCode](https://developer.android.com/reference/android/content/BroadcastReceiver#setResultCode(int))`(int code) ` Change the current result code of this broadcast; only works with broadcasts sent through[Context.sendOrderedBroadcast](https://developer.android.com/reference/android/content/Context#sendOrderedBroadcast(android.content.Intent,%20java.lang.String)).                                                                                                                                                                                                      | | ` final void`                                                                                                                       | ` `[setResultData](https://developer.android.com/reference/android/content/BroadcastReceiver#setResultData(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String)` data) ` Change the current result data of this broadcast; only works with broadcasts sent through[Context.sendOrderedBroadcast](https://developer.android.com/reference/android/content/Context#sendOrderedBroadcast(android.content.Intent,%20java.lang.String)).                                                                                                                        | | ` final void`                                                                                                                       | ` `[setResultExtras](https://developer.android.com/reference/android/content/BroadcastReceiver#setResultExtras(android.os.Bundle))`(`[Bundle](https://developer.android.com/reference/android/os/Bundle)` extras) ` Change the current result extras of this broadcast; only works with broadcasts sent through[Context.sendOrderedBroadcast](https://developer.android.com/reference/android/content/Context#sendOrderedBroadcast(android.content.Intent,%20java.lang.String)).                                                                                                              | ||
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](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 `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](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`                                                                  | ` `[wait](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`                                                                  | ` `[wait](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*.                                                                                             | ||

## Public constructors

### MbmsDownloadReceiver

```
public MbmsDownloadReceiver ()
```

<br />

<br />