You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BOXContentClient *contentClient = [BOXContentClient defaultClient];
BOXEventsRequest *eventsRequest = [contentClient eventsRequestForCurrentUser];
// See API documentation for configuring stream position and stream type:// https://docs.box.com/reference#events
eventsRequest.streamType = BOXEventsStreamTypeAll;
eventsRequest.streamPosition = @"0";
[eventsRequest performRequestWithCompletion:^(NSArray *events, NSString *nextStreamPosition, NSError *error) {
// If successful, events will be non-nil; otherwise, error will be non-nil.// You will likely want to use nextStreamPosition for your next request.
}];