last Recents
This function is called only if HeadConfig.isRecentsAvailable and HeadConfig.isNotifyRecentsEnabled are enabled, it's used to get the latest sublist of recents.
The system works like this:
Every X minutes the app will call this method with a NotifyData.Request, it includes the latest BypassModel for the module and the last RecentModel send in a NotifyData.Request or null if it's the first request.
The module needs to load the latest recents until the item in the request and send them in a NotifyData.Response, the response needs to include the new latest recent.
Notes:
The Main app won't notify the first time it sends a request so if the item in the request is null you can send a response only containing the latest recent.
If the latest in the Response is null, the app will send the same latest in the next request.
The amount of notifications is limited to 5 per request, if the response contains more than 5 recents the Main app will only take the first 5 elements.
Return
The response containing the list of latest recents and the latest recent to record
Parameters
The request for latest recents