Represents the API of the event endpoint on Box. This class can be used to generate request objects
for each of the APIs exposed endpoints
Constructs a BoxApiEvent with the provided BoxSession
session authenticated session to use with the BoxApiEvent
Gets a request that retrieves user events
- request to get user events
Gets a request that retrieves enterprise events
- request to retrieve enterprise events
Gets a request that retrieves a RealTimeServerConnection, which is used to create a long poll to check for some generic change
to the user's account. This can be combined with syncing logic using getUserEventsRequest or getEnterpriseEventsRequest to discover what has changed.
changeListener A listener that will get triggered when a change has been made to the user's account or an exception has occurred.
- A RealTimeServerConnection that checks for a change to a user's account.