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
public static void FetchAllUserEvents(int fromTimeStamp, int untilTimeStamp, Action<List<UserEvent>> onSuccess, Action<WebRequestError> onError);
Parameters
Name
Description
fromTimeStamp
Start of the time period to filter by (exclusively)
untilTimeStamp
End of the time period to filter by (inclusively)
onSuccess
Action to execute if the request succeeds
onError
Action to execute if the request returns an error
Description
Fetches all user events for the authenticated user.
Primarily wraps APIClient.GetUserEvents providing a convenient interface for fetching all of the events that involve the authenticated user and the stored game id, as it automatically fetches each page sequentially until all have been received.