public class DefaultDeliveryClient extends java.lang.Object implements DeliveryClient
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EVENTS_DIRECTORY |
| Modifier and Type | Method and Description |
|---|---|
void |
attemptDelivery() |
void |
attemptDelivery(java.util.List<DeliveryPolicy> policies) |
java.lang.String[] |
batchedEvents() |
void |
enqueueEventForDelivery(InternalEvent event) |
static DefaultDeliveryClient |
newInstance(AnalyticsContext context,
boolean allowWANDelivery) |
void |
notify(InternalEvent event) |
public static final java.lang.String EVENTS_DIRECTORY
public static DefaultDeliveryClient newInstance(AnalyticsContext context, boolean allowWANDelivery)
public void notify(InternalEvent event)
notify in interface EventObserverpublic void enqueueEventForDelivery(InternalEvent event)
enqueueEventForDelivery in interface DeliveryClientpublic void attemptDelivery()
attemptDelivery in interface DeliveryClientpublic void attemptDelivery(java.util.List<DeliveryPolicy> policies)
public java.lang.String[] batchedEvents()
batchedEvents in interface DeliveryClient