Example #1
0
        public static AnalyticsResult FlushEvents()
        {
            bool            flag = !Analytics.IsInitialized();
            AnalyticsResult result;

            if (flag)
            {
                result = AnalyticsResult.NotInitialized;
            }
            else
            {
                result = (Analytics.FlushArchivedEvents() ? AnalyticsResult.Ok : AnalyticsResult.NotInitialized);
            }
            return(result);
        }