Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig.MobileAnalyticsManagerConfig C# (CSharp) Method

MobileAnalyticsManagerConfig() public method

Constructor of Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig
public MobileAnalyticsManagerConfig ( ) : System
return System
        public MobileAnalyticsManagerConfig()
        {
            SessionTimeout = defaultSessionTimeout;
            MaxDBSize = defaultMaxDBSize;
            DBWarningThreshold = defaultDBWarningThreshold;
            MaxRequestSize = defaultMaxRequestSize;
            AllowUseDataNetwork = defaultAllowUseDataNetwork;
#if BCL
            ClientContextConfiguration = new ClientContextConfig();
#endif

#if UNITY
            var root = new RootConfig();
            var section = root.GetServiceSection(mobileAnalyticsKey);
            if (section == null)
            {
                return;
            }

            var rootSection = new MobileAnalyticsManagerConfigSectionRoot(section);
            if (rootSection.SectionConfig != null)
                Configure(rootSection.SectionConfig);
#endif
        }
MobileAnalyticsManagerConfig