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