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
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 IBinder onBind (Intent intent)

Parameters
intent Intent
Returns
IBinder

public void onCreate ()

public void onDestroy ()

public void onRebind (Intent intent)

Parameters
intent Intent

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

Parameters
intent Intent
flags int
startId int
Returns
int

public boolean onUnbind (Intent intent)

Parameters
intent Intent
Returns
boolean