Google is committed to advancing racial equity for Black communities. See how.

AnalyticsReceiver

public final class AnalyticsReceiver extends BroadcastReceiver

A BroadcastReceiver used by Google Analytics. It will only be used when the receiver is correctly declared in AndroidManifest.xml and enabled:

<manifest>
   <application>
     <!-- ... -->

     <receiver android:name="com.google.android.gms.analytics.AnalyticsReceiver"
         android:enabled="true">
         <intent-filter>
             <action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH" />
         </intent-filter>
     </receiver>

     <!-- ... -->
   </application>
 </manifest>
 

Public Constructor Summary

Public Method Summary

void
onReceive(Context context, Intent intent)

Inherited Method Summary

Public Constructors

public AnalyticsReceiver ()

Public Methods

public void onReceive (Context context, Intent intent)