dispatch

The dispatch() method sends all queued events to the server in a background thread. If the user has opted out, no events are sent.

Syntax

tracker.dispatch()
getTracker().dispatch();

Examples

val tracker: Tracker = (application as PiwikApplication).tracker
tracker.dispatch()
Tracker tracker = ((PiwikApplication) getApplication()).getTracker();
tracker.dispatch();

Related methods