RemoteTrackerDatasource

Implementation of a TrackerDatasource that makes the network calls to track the specified TrackingEvents.

Functions

Link copied to clipboard
open fun create(httpService: HttpService): TrackerDatasource
Instantiates a RemoteTrackerDatasource.
Link copied to clipboard
open fun track(trackingEvents: List<TrackingEvent>, ssaiCallback: SSAICallback<List<TrackingEvent>>)
Tries to contact the URI of each TrackingEvent and then notifies successful results in onSuccess, in case there were errors onError is called.