Flush for Windows apps
Engagement stats (Events, Screens, Sessions, APIs) and Logs that are recorded by your app are batched together in a single session, i.e, app foregroud to background. The data is then uploaded in Apptics server together on the next app launch. If the app is not launched to foreground again, it could take upto 1 hour (approximately) for data to be uploaded based on your network connectivity and battery health.
You can use the flush method to try to instantly sync the recorded engagement data.
Copiedawait AppticsWindowsBase.Analytics.AnalyticsHelper.FlushData();