public class BoxApiEvent extends BoxApi
mBaseUploadUri, mBaseUri, mSession| Constructor and Description |
|---|
BoxApiEvent(BoxSession session)
Constructs a BoxApiEvent with the provided BoxSession
|
| Modifier and Type | Method and Description |
|---|---|
BoxRequestsEvent.GetEnterpriseEvents |
getEnterpriseEventsRequest()
Gets a request that retrieves enterprise events
|
protected java.lang.String |
getEventsUrl() |
RealTimeServerConnection |
getLongPollServerConnection(RealTimeServerConnection.OnChangeListener changeListener)
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.
|
BoxRequestsEvent.GetUserEvents |
getUserEventsRequest()
Gets a request that retrieves user events
|
getBaseUploadUri, getBaseUripublic BoxApiEvent(BoxSession session)
session - authenticated session to use with the BoxApiEventprotected java.lang.String getEventsUrl()
public BoxRequestsEvent.GetUserEvents getUserEventsRequest()
public BoxRequestsEvent.GetEnterpriseEvents getEnterpriseEventsRequest()
public RealTimeServerConnection getLongPollServerConnection(RealTimeServerConnection.OnChangeListener changeListener)
changeListener - A listener that will get triggered when a change has been made to the user's account or an exception has occurred.