A Builder object to build event hits. For meaningful data, event hits should contain at least the event category and the event action.
| HitBuilders.EventBuilder | |
| HitBuilders.EventBuilder |
setCategory(String category)
|
| HitBuilders.EventBuilder | |
| HitBuilders.EventBuilder |
setValue(long value)
|
Convenience constructor for creating an event hit. Additional fields can be specified using the setter methods.
| category | Category in which the event will be filed. Example: "Video" |
|---|---|
| action | Action associated with the event. Example: "Play" |