Exemplo n.º 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.logLevel.lowercaseToString();
            }

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

            AdjustWP.ApplicationLaunching(
                appToken: adjustConfig.appToken,
                logLevelString: logLevelString,
                environment: environment,
                defaultTracker: adjustConfig.defaultTracker,
                eventBufferingEnabled: adjustConfig.eventBufferingEnabled,
                sdkPrefix: sdkPrefix,
                attributionChangedDic: attributionChangedDictionary,
                logDelegate: adjustConfig.logDelegate
                );
        }
Exemplo n.º 2
0
 public void trackEvent(AdjustEvent adjustEvent)
 {
     AdjustWP.TrackEvent(
         eventToken: adjustEvent.eventToken,
         revenue: adjustEvent.revenue,
         currency: adjustEvent.currency,
         callbackList: adjustEvent.callbackList,
         partnerList: adjustEvent.partnerList
         );
 }
Exemplo n.º 3
0
 public void setOfflineMode(bool offlineMode)
 {
     AdjustWP.SetOfflineMode(offlineMode);
 }
Exemplo n.º 4
0
 public void setEnabled(bool enabled)
 {
     AdjustWP.SetEnabled(enabled);
 }
Exemplo n.º 5
0
 public void onResume()
 {
     AdjustWP.ApplicationActivated();
 }
Exemplo n.º 6
0
 public void onPause()
 {
     AdjustWP.ApplicationDeactivated();
 }
Exemplo n.º 7
0
 public bool isEnabled()
 {
     return(AdjustWP.IsEnabled());
 }