FlushEvents() приватный Метод

private FlushEvents ( ) : AnalyticsResult
Результат AnalyticsResult
Пример #1
0
        public static AnalyticsResult FlushEvents()
        {
            UnityAnalyticsHandler unityAnalyticsHandler = GetUnityAnalyticsHandler();

            if (unityAnalyticsHandler == null)
            {
                return(AnalyticsResult.NotInitialized);
            }

            return(unityAnalyticsHandler.FlushEvents() ? AnalyticsResult.Ok : AnalyticsResult.NotInitialized);
        }
Пример #2
0
        public static AnalyticsResult FlushEvents()
        {
            UnityAnalyticsHandler unityAnalyticsHandler = Analytics.GetUnityAnalyticsHandler();
            AnalyticsResult       result;

            if (unityAnalyticsHandler == null)
            {
                result = AnalyticsResult.NotInitialized;
            }
            else
            {
                result = unityAnalyticsHandler.FlushEvents();
            }
            return(result);
        }