public interface Event
An event in a user’s history. Events are associated with items. In some cases, it makes sense that a user may have events not associated with an item (such as login/logout events). We recommend that integrators use a designated item ID in such cases. If that item type never shows up in events used by recommenders, then it should not affect the recommenders.
Get the ID of the user responsible for the event.
Get the item ID.
Get the event timestamp. A timestamp of -1 indicates that the event has no timestamp; such events should generally be considered to happen infinitely long ago.