Added in API level 28

MbmsDownloadReceiver


open class MbmsDownloadReceiver : BroadcastReceiver
kotlin.Any
   ↳ android.content.BroadcastReceiver
   ↳ android.telephony.mbms.MbmsDownloadReceiver

The 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:

<code>&lt;receiver
     android:name="android.telephony.mbms.MbmsDownloadReceiver"
     android:permission="android.permission.SEND_EMBMS_INTENTS"
     android:enabled="true"
     android:exported="true"&gt;
 &lt;/receiver&gt;</code>

Summary

Public constructors

Public methods
open Unit
onReceive(context: Context!, intent: Intent!)

Inherited functions

Public constructors

MbmsDownloadReceiver

MbmsDownloadReceiver()

Public methods

onReceive

Added in API level 28
open fun onReceive(
    context: Context!,
    intent: Intent!
): Unit
Parameters
context Context!: The Context in which the receiver is running.
intent Intent!: The Intent being received.