public class EventsApi
extends java.lang.Object
| Constructor and Description | 
|---|
| EventsApi(EventsService eventsService)Constructs Events API endpoint initialized with corresponding service class. | 
| Modifier and Type | Method and Description | 
|---|---|
| CollectEventsRequestExecutor | collect(EventPacket eventPacket,
       java.lang.String uniqueId)Provides executor that can be used to collect events. | 
public EventsApi(EventsService eventsService)
eventsService - the events API service.public CollectEventsRequestExecutor collect(EventPacket eventPacket, java.lang.String uniqueId)
eventPacket - the event packet.uniqueId - device uniqueId. Can be null if not necessary.