public class GoogleAnalyticsDispatcher
extends java.lang.Object
implements com.batch.android.BatchEventDispatcher
| Constructor and Description |
|---|
GoogleAnalyticsDispatcher(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchEvent(com.batch.android.Batch.EventDispatcher.Type type,
com.batch.android.Batch.EventDispatcher.Payload payload)
Callback when a new event just happened in the Batch SDK.
|
static void |
setTrackingId(android.content.Context context,
int trackingId) |
static void |
setTrackingId(android.content.Context context,
java.lang.String trackingId) |
public GoogleAnalyticsDispatcher(android.content.Context context)
public static void setTrackingId(android.content.Context context,
@XmlRes
int trackingId)
public static void setTrackingId(android.content.Context context,
java.lang.String trackingId)
public void dispatchEvent(@NonNull
com.batch.android.Batch.EventDispatcher.Type type,
@NonNull
com.batch.android.Batch.EventDispatcher.Payload payload)
dispatchEvent in interface com.batch.android.BatchEventDispatchertype - The type of the eventpayload - The payload associated with the event