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

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

Examples

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

Related methods