Exemple #1
0
        public void start(AdjustConfig adjustConfig)
        {
            string logLevelString = null;
            string environment    = adjustConfig.environment.lowercaseToString();
            Action <Dictionary <string, string> > attributionChangedDictionary = null;

            if (adjustConfig.logLevel != null)
            {
                logLevelString = adjustConfig.lowercaseToString();
            }

            if (adjustConfig.attributionChangedDelegate != null)
            {
                attributionChangedDictionary = (attributionDictionary) => Adjust.runAttributionChangedDictionary(attributionDictionary);
            }

            AdjustWS.ApplicationLaunching(
                appToken: adjustConfig.appToken,
                logLevelString: logLevelString,
                environment: environment,
                defaultTracker: adjustConfig.defaultTracker,
                eventBufferingEnabled: adjustConfig.eventBufferingEnabled,
                sdkPrefix: sdkPrefix,
                attributionChangedDic: attributionChangedDictionary,
                logDelegate: adjustConfig.logDelegate
                );
        }