EventDownloader

class EventDownloader : BaseRepositoryImpl<EventDownloader>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun byUid(): UnwrappedEqInFilterConnector<EventDownloader>
Link copied to clipboard
fun download(): Observable<TrackerD2Progress>

Downloads and persists Events from the server. Only instances in capture scope are downloaded. This method keeps track of the latest successful download in order to void downloading unmodified data.

Link copied to clipboard
Link copied to clipboard
fun limitByOrgunit(limitByOrgunit: Boolean): EventDownloader
Link copied to clipboard
fun limitByProgram(limitByProgram: Boolean): EventDownloader