public static Analytics.AnalyticsResult FlushEvents ();

Description

Attempts to flush immediately all queued analytics events to the network and filesystem cache if possible (optional).

If the network is unavailable, events will stay queued for later attempts. This is convenient for testing to check if events are being sent, but should be used rarely in normal operation. Events do get flushed out more efficiently in normal operation on a low-priority worker thread.