public interface ReportingManager
Modifier and Type | Method and Description |
---|---|
void |
reportTriggerEvent(TriggerEventType eventType,
java.lang.String triggerId)
Reports a trigger event to TapPoint.
|
void |
reportTriggerEvent(TriggerEventType eventType,
java.lang.String triggerId,
java.lang.String extEventRef)
Reports a trigger event to TapPoint.
|
void |
reportUserEvent(java.lang.String eventName,
java.util.Map<java.lang.String,java.lang.String> eventData)
Reports a custom event to TapPoint, including the custom data.
|
void |
setExternalUserReference(java.lang.String extUserRef)
Causes the reporting manager to associate the supplied external user reference with all events.
|
void reportTriggerEvent(TriggerEventType eventType, java.lang.String triggerId)
eventType
- the trigger event type to report.triggerId
- the ID of the trigger associated with the event.void reportTriggerEvent(TriggerEventType eventType, java.lang.String triggerId, java.lang.String extEventRef)
eventType
- the trigger event type to report.triggerId
- the ID of the trigger associated with the event.extEventRef
- the external event reference to associate with the event.void reportUserEvent(java.lang.String eventName, java.util.Map<java.lang.String,java.lang.String> eventData)
eventName
- the name of the custom event.eventData
- the key/value pairvoid setExternalUserReference(java.lang.String extUserRef)
extUserRef
- the external user reference to associate with reporting events, by providing null
you are indicating that any existing user reference should be cleared and all
subsequent events will not be associated with a user.