public final class

AnalyticsService

extends Service
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.app.Service
         ↳ com.google.android.gms.analytics.AnalyticsService

Class Overview

A Service used by Google Analytics. It will only be used when the service is correctly declared in AndroidManifest.xml:

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

     <service android:name="com.google.android.gms.analytics.AnalyticsService"
         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 Methods
boolean callServiceStopSelfResult(int startId)
Context getContext()
IBinder onBind(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 Methods

public boolean callServiceStopSelfResult (int startId)

Parameters
startId int
Returns
boolean

public Context getContext ()

Returns
Context

public IBinder onBind (Intent intent)

Parameters
intent Intent
Returns
IBinder