public final class

AppMeasurementService

extends Service
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.app.Service
         ↳ com.google.android.gms.measurement.AppMeasurementService

Class Overview

An Service used by FirebaseAnalytics. It will only be used when the service is correctly declared in AndroidManifest.xml:

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

     <service android:name="com.google.android.gms.measurement.AppMeasurementService"
         android:enabled="true"
         android:exported="false"/>

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

Summary

[Expand]
Inherited Constants
From class android.app.Service
From class android.content.Context
From interface android.content.ComponentCallbacks2
Public Constructors
AppMeasurementService()
Public Methods
boolean callServiceStopSelfResult(int startId)
Context getContext()
IBinder onBind(Intent intent)
void onCreate()
void onDestroy()
void onRebind(Intent intent)
int onStartCommand(Intent intent, int flags, int startId)
boolean onUnbind(Intent intent)
[Expand]
Inherited Methods
From class android.app.Service
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks2
From interface android.content.ComponentCallbacks

Public Constructors

public AppMeasurementService ()

Public Methods

public boolean callServiceStopSelfResult (int startId)

public Context getContext ()

public IBinder onBind (Intent intent)

public void onCreate ()

public void onDestroy ()

public void onRebind (Intent intent)

public int onStartCommand (Intent intent, int flags, int startId)

public boolean onUnbind (Intent intent)