java.lang.Object | |
↳ | com.salesforce.android.service.common.analytics.ServiceAnalytics |
Service Analytics lets you monitor the behavior of the Service SDK by providing contextual data about what the end user is doing and how the Service SDK responds as it happens.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
addListener(ServiceAnalyticsListener listener)
Add a
ServiceAnalyticsListener , which will be notified when an analytics event has
occurred. | ||||||||||
static void |
removeListener(ServiceAnalyticsListener listener)
Remove a known
ServiceAnalyticsListener from ServiceAnalytics. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Add a ServiceAnalyticsListener
, which will be notified when an analytics event has
occurred.
listener | A ServiceAnalyticsListener object
|
---|
Remove a known ServiceAnalyticsListener
from ServiceAnalytics. Its onServiceAnalyticsEvent(String, Map)
method will no longer be
notified of analytics events.
listener | A ServiceAnalyticsListener object that had been previously added
|
---|