Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
  
  
MbmsDownloadReceiver
  public
  
  
  
  class
  MbmsDownloadReceiver
  
  
  
  
    extends BroadcastReceiver
  
  
  
  
  
  
  
    
  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:
 
<receiver
    android:name="android.telephony.mbms.MbmsDownloadReceiver"
    android:permission="android.permission.SEND_EMBMS_INTENTS"
    android:enabled="true"
    android:exported="true">
 </receiver>
Summary
| Inherited methods | 
|---|
| 
    From class
      
        
          android.content.BroadcastReceiver
        
      
      
  
  
  
    | 
        
        
        
        final
        
        void | 
      abortBroadcast()
      Sets the flag indicating that this receiver should abort the
 current broadcast; only works with broadcasts sent through
 Context.sendOrderedBroadcast. |  
  
  
    | 
        
        
        
        final
        
        void | 
      clearAbortBroadcast()
      Clears the flag indicating that this receiver should abort the current
 broadcast.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        boolean | 
      getAbortBroadcast()
      Returns the flag indicating whether or not this receiver should
 abort the current broadcast.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        boolean | 
      getDebugUnregister()
      Return the last value given to setDebugUnregister(boolean). |  
  
  
    | 
        
        
        
        final
        
        int | 
      getResultCode()
      Retrieve the current result code, as set by the previous receiver.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        String | 
      getResultData()
      Retrieve the current result data, as set by the previous receiver.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        Bundle | 
      getResultExtras(boolean makeMap)
      Retrieve the current result extra data, as set by the previous receiver.
        
    
 |  
  
  
    | 
        
        
        
        
        
        String | 
      getSentFromPackage()
      Returns the package name of the app that initially sent this broadcast.
        
    
 |  
  
  
    | 
        
        
        
        
        
        int | 
      getSentFromUid()
      Returns the uid of the app that initially sent this broadcast.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        BroadcastReceiver.PendingResult | 
      goAsync()
      This can be called by an application in onReceive(Context, Intent)to allow
 it to keep the broadcast active after returning from that function. |  
  
  
    | 
        
        
        
        final
        
        boolean | 
      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()
      Returns true if the receiver is currently processing an ordered
 broadcast.
        
    
 |  
  
  
    | 
        abstract
        
        
        
        
        void | 
      onReceive(Context context, Intent intent)
      This method is called when the BroadcastReceiver is receiving an Intent
 broadcast.
        
    
 |  
  
  
    | 
        
        
        
        
        
        IBinder | 
      peekService(Context myContext, Intent service)
      Provide a binder to an already-bound service.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        void | 
      setDebugUnregister(boolean debug)
      Control inclusion of debugging help for mismatched
 calls to Context.registerReceiver(). |  
  
  
    | 
        
        
        
        final
        
        void | 
      setOrderedHint(boolean isOrdered)
      For internal use, sets the hint about whether this BroadcastReceiver is
 running in ordered mode.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        void | 
      setResult(int code, String data, Bundle extras)
      Change all of the result data returned from this broadcasts; only works
 with broadcasts sent through
 Context.sendOrderedBroadcast. |  
  
  
    | 
        
        
        
        final
        
        void | 
      setResultCode(int code)
      Change the current result code of this broadcast; only works with
 broadcasts sent through
 Context.sendOrderedBroadcast. |  
  
  
    | 
        
        
        
        final
        
        void | 
      setResultData(String data)
      Change the current result data of this broadcast; only works with
 broadcasts sent through
 Context.sendOrderedBroadcast. |  
  
  
    | 
        
        
        
        final
        
        void | 
      setResultExtras(Bundle extras)
      Change the current result extras of this broadcast; only works with
 broadcasts sent through
 Context.sendOrderedBroadcast. |  | 
| 
    From class
      
        
          java.lang.Object
        
      
      
  
  
  
    | 
        
        
        
        
        
        Object | 
      clone()
      Creates and returns a copy of this object.
        
    
 |  
  
  
    | 
        
        
        
        
        
        boolean | 
      equals(Object obj)
      Indicates whether some other object is "equal to" this one.
        
    
 |  
  
  
    | 
        
        
        
        
        
        void | 
      finalize()
      Called by the garbage collector on an object when garbage collection
 determines that there are no more references to the object.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        Class<?> | 
      getClass()
      Returns the runtime class of this Object. |  
  
  
    | 
        
        
        
        
        
        int | 
      hashCode()
      Returns a hash code value for the object.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        void | 
      notify()
      Wakes up a single thread that is waiting on this object's
 monitor.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        void | 
      notifyAll()
      Wakes up all threads that are waiting on this object's monitor.
        
    
 |  
  
  
    | 
        
        
        
        
        
        String | 
      toString()
      Returns a string representation of the object.
        
    
 |  
  
  
    | 
        
        
        
        final
        
        void | 
      wait(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(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()
      Causes the current thread to wait until it is awakened, typically
 by being notified or interrupted.
        
    
 |  | 
Public constructors
    MbmsDownloadReceiver
    
public MbmsDownloadReceiver ()
    
    
    
  
 
 
 
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [null,null,["Last updated 2025-02-10 UTC."],[],[]]