static AWSConfigsMobileAnalytics()
        {
#if BCL||AWSSDK_UNITY
            var root = new RootConfig();
            var section = root.GetServiceSection(mobileAnalyticsKey);
            if (section == null)
            {
                return;
            }

            var rootSection = new MobileAnalyticsConfigSectionRoot(section);
            if (rootSection.MobileAnalytics != null)
                AWSConfigsMobileAnalytics.Configure(rootSection.MobileAnalytics);
#endif
        }
예제 #2
0
        static AWSConfigsMobileAnalytics()
        {
#if BCL || AWSSDK_UNITY
            var root    = new RootConfig();
            var section = root.GetServiceSection(mobileAnalyticsKey);
            if (section == null)
            {
                return;
            }

            var rootSection = new MobileAnalyticsConfigSectionRoot(section);
            if (rootSection.MobileAnalytics != null)
            {
                AWSConfigsMobileAnalytics.Configure(rootSection.MobileAnalytics);
            }
#endif
        }