/// <summary> /// Constructor of <see cref="Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig"/> /// </summary> 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 }
/// <summary> /// Constructor of <see cref="Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig"/> /// </summary> 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 }