track

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. Notice that both onSuccess and onError can be called in the same track(List, SSAICallback) call.

Parameters

trackingEvents

the list of tracking events to be tracked.

ssaiCallback

a callback to receive status of the tracking events.