public class CustomEvent extends Event
| Constructor and Description |
|---|
CustomEvent(java.lang.String type,
Entity entity) |
public CustomEvent(java.lang.String type,
Entity entity)
type - Custom type string for the event. For example "Facebook_Like" or another interaction from the user.entity - The entity that the user has interacted with.